Low severityauthentication
Power BI Error:
AADSTS50100
What does this error mean?
Microsoft Entra ID (Azure AD) failed to transform a claim while issuing the token, usually due to a broken claims-mapping policy or unresolved source attribute.
Common causes
- 1Claims-mapping policy on the service principal references a source attribute (e.g. extensionAttribute, employeeId) that is null or missing on the signing-in user
- 2Invalid transformation expression (RegexReplace, Join, ToLowercase) in the policy producing an empty or malformed claim
- 3Custom claim configured as required but no fallback value defined when the source is empty
- 4acceptMappedClaims=false on the application while a claims-mapping policy is assigned without a verified custom signing key
- 5Optional claims configured in the app manifest reference a directory schema extension that has been deleted
How to fix it
- 1Identify the affected app: in Entra ID > Enterprise applications > <app> > Sign-in logs, open the failed sign-in and capture the Application ID and Correlation ID
- 2Inspect claims-mapping policies bound to the service principal with Graph PowerShell: `Get-MgServicePrincipalClaimMappingPolicy -ServicePrincipalId <id>` and review the JSON Definition for transformations that could fail on null input
- 3Test sign-in with a user that has all referenced source attributes populated; if it succeeds, backfill the missing attributes (e.g. employeeId, extensionAttributes) on affected users or add a default value in the policy
- 4If the app uses optional/custom claims, set `acceptMappedClaims: true` in the app manifest OR configure a custom signing key on the application as required by Entra ID
- 5Temporarily detach the claims-mapping policy (`Remove-MgServicePrincipalClaimMappingPolicyByRef`) to confirm the policy is the cause, then re-add a corrected version