0
votes

This is the Azure B2C User Flow’s Application claims, where I can tick the Email Addresses and save it. UserFlow Application Claims

How can I do this in custom policy? I am trying to add Multi-Tenant login to AAD B2C via custom policies and I need to select this ‘Email Addresses’ in the Application Claims from User Flow. How can I select or activate this same ‘Email Addresses’ in custom policy XML files?

So far I tried adding -->> OutputClaim ClaimTypeReferenceId="signInNames.emailAddress" <<-- to the technical profiles, but still no luck.

1

1 Answers

0
votes

The claim you want is "preferred_username".

Try to add <OutputClaim ClaimTypeReferenceId="email" PartnerClaimType="preferred_username" />.