Azure B2C and being able to use email/emails attribute from the claim

Not applicable


We're currently working through using Azure B2C as an IdP for Identity Server 4.0 as a federation gateway and then to ADFS to access an internal relying party trust configured for a specific use case. We've got all of the configuration in place but we're having issue with trying to get the email attribute from the B2C token flowing through as expected.


In Azure B2C, this comes through via the claim attribute "emails" as it's a string collection type and have spent hours running through various options from online ideas to no avail.


Thanks in advance if anyone has any idea's on this issue.

1 Reply
best response

Luckily this issue is now resolved as using the Identity Server Profile Service allowed for us to "Transform" the incoming claims attribute "emails" to be sent through in the JWT as "email" as required.