You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/user-flow-custom-attributes.md
+12-8Lines changed: 12 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ manager: CelesteDG
8
8
ms.service: active-directory
9
9
ms.workload: identity
10
10
ms.topic: how-to
11
-
ms.date: 10/08/2021
11
+
ms.date: 03/01/2022
12
12
ms.custom: project-no-code
13
13
ms.author: kengaderdus
14
14
ms.subservice: B2C
@@ -89,7 +89,7 @@ Extension attributes can only be registered on an application object, even thoug
89
89
1. On the **Portal settings | Directories + subscriptions** page, find your Azure AD B2C directory in the **Directory name** list, and then select **Switch**.
90
90
1. In the left menu, select **Azure AD B2C**. Or, select **All services** and search for and select **Azure AD B2C**.
91
91
1. Select **App registrations**, and then select **All applications**.
92
-
1. Select the `b2c-extensions-app. Do not modify. Used by AADB2C for storing user data.` application.
92
+
1. Select the **b2c-extensions-app. Do not modify. Used by AADB2C for storing user data.** application.
93
93
1. Copy the following identifiers to your clipboard and save them:
@@ -179,11 +179,10 @@ The following example demonstrates the use of a custom attribute in Azure AD B2C
179
179
180
180
## Using custom attribute with MS Graph API
181
181
182
-
Microsoft Graph API supports creating and updating a user with extension attributes. Extension attributes in the Graph API are named by using the convention `extension_ApplicationClientID_attributename`, where the `ApplicationClientID` is the **Application (client) ID** of the `b2c-extensions-app` application. Note that the **Application (client) ID** as it's represented in the extension attribute name includes no hyphens. For example:
182
+
[Microsoft Graph API][ms-graph-api] supports creating and updating a user with extension attributes. Extension attributes in the Microsoft Graph API are named by using the convention `extension_ApplicationClientID_attributename`, where the `ApplicationClientID` is the **Application (client) ID** of the `b2c-extensions-app`[application](#azure-ad-b2c-extensions-app). Note that the **Application (client) ID** as it's represented in the extension attribute name includes no hyphens. For example, the Microsoft Graph API identifies an extension attribute `loyaltyId` in Azure AD B2C as `extension_831374b3bd5041bfaa54263ec9e050fc_loyaltyId`.
Learn how to [interact with resources in your Azure AD B2C tenant](microsoft-graph-operations.md#user-management) using Microsoft Graph API.
185
+
187
186
188
187
## Remove extension attribute
189
188
@@ -194,11 +193,11 @@ Unlike built-in attributes, extension/custom attributes can be removed. The exte
194
193
195
194
::: zone pivot="b2c-user-flow"
196
195
197
-
Use the following steps to remove extension/custom attribute from a user flow:
196
+
Use the following steps to remove extension/custom attribute from a user flow in your:
198
197
199
198
1. Sign in to the [Azure portal](https://portal.azure.com/) as the global administrator of your Azure AD B2C tenant.
200
199
2. Make sure you're using the directory that contains your Azure AD B2C tenant:
201
-
1.Select the **Directories + subscriptions** icon in the portal toolbar.
200
+
1. Select the **Directories + subscriptions** icon in the portal toolbar.
202
201
1. On the **Portal settings | Directories + subscriptions** page, find your Azure AD B2C directory in the Directory name list, and then select **Switch**
203
202
1. Choose **All services** in the top-left corner of the Azure portal, search for and select **Azure AD B2C**.
204
203
1. Select **User attributes**, and then select the attribute you want to delete.
@@ -218,3 +217,8 @@ To remove a custom attribute, use [MS Graph API](microsoft-graph-operations.md),
218
217
## Next steps
219
218
220
219
Follow the guidance for how to [add claims and customize user input using custom policies](configure-user-input.md). This sample uses a built-in claim 'city'. To use a custom attribute, replace 'city' with your own custom attributes.
0 commit comments