How to pass ExtensionAttributes as Claim when authenticating with a Generic Identity Provider?

Oscar de Brito Lingman 0 Reputation points


I have a bunch of users in Azure AD B2C who can authenticate using a Generic Identity Provider. After they have been authenticated I want to add a custom claim for the CustomAttribute1 value, how do I do this using Custom Policies?

Worth noting is that I add these users using the Graph API, so the users can't sign up using B2C, only login if they already have an account. This means that I've removed the SignUp part of the SignUp_SignIn custom policy.


Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,576 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Reveroctorious 0 Reputation points
    0 comments No comments