Why isn't the example preficed with _extension?
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.
- ID: 4ace5e69-e1db-52c5-9c57-026fc6145a84
- Version Independent ID: f6fcdaac-449a-5a37-5fc8-bef1ed731a2a
- Content: Add user attributes and customize user input - Azure AD B2C
- Content Source: articles/active-directory-b2c/configure-user-input.md
- Service: active-directory
- Sub-service: b2c
- GitHub Login: @kengaderdus
- Microsoft Alias: kengaderdus
@Koning53 Thanks for your feedback! We will investigate and update as appropriate.
@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.
@kengaderdus Can you please check and add your comments on this doc update request as applicable.
@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.