Adding extension attributes to claims when using Azure AD to sign in to Azure B2C

Not applicable

After many tears, I have managed to get Azure AD and Azure B2C working well using the instructions at However, I cannot get the custom attributes that I have defined to show up in the claims. My signup and sign in policy is below and I see identityProvider, givenName and surname appear but not the extension ones. Is this another case of waiting a few hours for B2C to catch up or is there something else needed to be added?


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>


<DefaultUserJourney ReferenceId="SignUpOrSignInUsingBallardChalmers" />
<TechnicalProfile Id="PolicyProfile">
<Protocol Name="OpenIdConnect" />
<OutputClaim ClaimTypeReferenceId="displayName" />
<OutputClaim ClaimTypeReferenceId="givenName" />
<OutputClaim ClaimTypeReferenceId="surname" />
<OutputClaim ClaimTypeReferenceId="email" />
<OutputClaim ClaimTypeReferenceId="objectId" PartnerClaimType="sub"/>
<OutputClaim ClaimTypeReferenceId="identityProvider" />
<OutputClaim ClaimTypeReferenceId="extension_organisationId" />
<OutputClaim ClaimTypeReferenceId="extension_heaRole" />
<OutputClaim ClaimTypeReferenceId="extension_organisationName" />
<OutputClaim ClaimTypeReferenceId="extension_roleDisplayName" />
<SubjectNamingInfo ClaimType="sub" />
0 Replies