Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom attributes not shown in user profile in Azure AD B2C

I have added custom attributes during Sign-up and added the same in the application claim in Azure AD B2C management portal. I was expecting these custom attributes to be added as part of the user profile who signed-up using their social identity provider.

Could someone help me on getting these custom attributes in the user profile screen of Azure AD B2C?

like image 512
Jeeva Avatar asked Jun 08 '17 15:06

Jeeva


1 Answers

Besides creating the custom attribute, you need to add it to your policy's Attributes. Optionally you can also configure the attribute as an application claim.

You do this in the "Sign-up attributes" or "Edit profile attributes" section while editing you policy.

Keep in mind this is different from adding the attribute to your application claims.

While the former shows it in the UI allowing the user to edit the attribute, the latter sends the value of that attribute to the application in the id_token.

See the use a custom attribute in your policy documentation for more info.

It is also worth noting that at this time, custom attributes do not show up in the Azure portal's Users & Groups blade. As an admin, you can only view and update those using the Graph. You can request this as a feature in the Azure AD B2C feedback forum

like image 59
Saca Avatar answered Oct 02 '22 00:10

Saca