azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Why isn't the example preficed with _extension?

Open Koning53 opened this issue 3 years ago • 1 comments

Hello, reading the documentation, I was wondering why in this example the 'city' attribute is not prefixed with extension. In my case, the referring page states "When using a custom attribute in custom policies, you must prefix the claim type ID with extension to allow the correct data mapping to take place within the Azure AD B2C directory.".

https://learn.microsoft.com/en-us/azure/active-directory-b2c/user-flow-custom-attributes?pivots=b2c-custom-policy


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Koning53 avatar Oct 17 '22 13:10 Koning53

@Koning53 Thanks for your feedback! We will investigate and update as appropriate.

YashikaTyagii avatar Oct 17 '22 15:10 YashikaTyagii

@Koning53 Thanks for pointing this out . I'm going to assign this to the document author so they can take a look at it accordingly.

image

SaibabaBalapur-MSFT avatar Oct 18 '22 09:10 SaibabaBalapur-MSFT

@kengaderdus Can you please check and add your comments on this doc update request as applicable.

SaibabaBalapur-MSFT avatar Oct 18 '22 09:10 SaibabaBalapur-MSFT

@SaibabaBalapur-MSFT

Thanks for your feedback and patience. city is a built-in attribute, and not a custom/extension attribute, so you don't need to prefix it with extension .

For more details see, Azure AD B2C User profile attributes. Also mention in the Next steps section in Define custom attributes in Azure Active Directory B2C.

We'll proceed to close this issue. #please-close. But you can comment here if you've further questions.

kengaderdus avatar Oct 19 '22 17:10 kengaderdus