Add extension attribute as claim to access token
Possibly related to #55990
According to the documentation I should be able to add extension attributes to my tokens, but if I add one to the manifest as indicated in the documentation I get the warning "This claim is not supported and will not be returned in the token". Config looks like this
"optionalClaims": { "accessToken": [ { "name": "extension_<appid>_<myattribute>", "source": "user", "essential": false } ] }
The extension attribute in question was added via a claimsMappingPolicies and with the setting "acceptMappedClaims": true in the manifest it shows up fine in the ID token. But adding it to the accessToken seems to be impossible.
I don't know if this is relevant, but the
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: b4a177db-c714-599f-9091-b1e97506cd49
- Version Independent ID: 2bbfd6ca-1032-6afb-49bd-9dba40aa2513
- Content: Provide optional claims to your app - Microsoft Entra
- Content Source: articles/active-directory/develop/optional-claims.md
- Service: active-directory
- Sub-service: develop
- GitHub Login: @davidmu1
- Microsoft Alias: davidmu
@b509 Thanks for your feedback! We will investigate and update as appropriate.
An ADO workitem has been opened to track any documentation work needed and will be evaluated and prioritized.
https://dev.azure.com/msft-skilling/Content/_workitems/edit/169187
#please-close