Skip to content

Commit bd24a93

Browse files
authored
Added context to custom attribute requirements
ClaimTypes referencing an extension attribute start with `extension_` but the reader is never informed to why that is. Now they will be.
1 parent 4d1e9fa commit bd24a93

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

articles/active-directory-b2c/user-flow-custom-attributes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,12 @@ You can create these attributes by using the portal UI before or after you use t
143143

144144
|Name |Used in |
145145
|---------|---------|
146-
|`extension_loyaltyId` | Custom policy|
146+
|`extension_loyaltyId` | Custom policy|
147147
|`extension_<b2c-extensions-app-guid>_loyaltyId` | [Microsoft Graph API](microsoft-graph-operations.md#application-extension-directory-extension-properties)|
148148

149+
> [!NOTE]
150+
> When using custom attributes in custom policies, the claim type ID must be prefixed with `extension_` to allow the correct data mapping to take place within the B2C directory.
151+
149152
The following example demonstrates the use of custom attributes in an Azure AD B2C custom policy claim definition.
150153

151154
```xml

0 commit comments

Comments
 (0)