question

AndersMadsen-6371 avatar image
0 Votes"
AndersMadsen-6371 asked PeterDrier-7201 commented

How do you add the company name claim so that it maps correctly to the user?

Hello

I have added the companyname claimtype to our Azure AD B2C flow in multiple ways, yet not one of them seems to map to the field "Company name" in the Azure user view: 34213-image.png
I have tried using the following ClaimType Ids:
company
companyName
extension_Company
extension_CompanyName

I guess this just isn't possible? :)

azure-ad-b2c
image.png (5.3 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
1 Vote"
amanpreetsingh-msft answered PeterDrier-7201 commented

Hello @AndersMadsen-6371 · Supported Azure AD B2C user profile attributes are documented here: https://docs.microsoft.com/en-us/azure/active-directory-b2c/user-profile-attributes

Unfortunately, companyName attribute is not supported as B2C user profile attribute. If you create custom companyName attribute, it gets stored as extension_<guid>_companyName in the backend which is why it will not be mapped to companyName attribute of user profile.

You may post a feedback regarding this at our Feedback Portal which is monitored by the product group.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This is such a basic thing, it's really sad when MS can't get the 101 level stuff right.

2 Votes 2 ·