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/client-credentials-grant-flow.md
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ manager: CelesteDG
9
9
ms.service: active-directory
10
10
ms.workload: identity
11
11
ms.topic: how-to
12
-
ms.date: 06/15/2022
12
+
ms.date: 06/21/2022
13
13
ms.custom: project-no-code
14
14
ms.author: kengaderdus
15
15
ms.subservice: B2C
@@ -82,7 +82,17 @@ can't contain spaces. The following example demonstrates two app roles, read and
82
82
83
83
## Step 2. Register an application
84
84
85
-
To enable your app to sign in with Azure AD B2C using client credentials flow, register your applications (**App 1**). To create the web API app registration, follow these steps:
85
+
To enable your app to sign in with Azure AD B2C using client credentials flow, you can use an existing application or register a new one (**App 1**).
86
+
87
+
If you're using an existing app, make sure the app's `accessTokenAcceptedVersion` is set to `2`:
88
+
89
+
1. In the Azure portal, search for and select **Azure AD B2C**.
90
+
1. Select **App registrations**, and then select the your existing app from the list.
91
+
1. In the left menu, under **Manage**, select **Manifest** to open the manifest editor.
92
+
1. Locate the `accessTokenAcceptedVersion` element, and set its value to `2`.
93
+
1. At the top of the page, select **Save** to save the changes.
94
+
95
+
To create a new web app registration, follow these steps:
86
96
87
97
1. In the Azure portal, search for and select **Azure AD B2C**
88
98
1. Select **App registrations**, and then select **New registration**.
0 commit comments