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/develop/tutorial-v2-angular-auth-code.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ In this tutorial:
23
23
24
24
> [!div class="checklist"]
25
25
>
26
-
> - Register the application in the Azure portal
26
+
> - Register the application in the Microsoft Entra admin center
27
27
> - Create an Angular project with `npm`
28
28
> - Add code to support user sign-in and sign-out
29
29
> - Add code to call Microsoft Graph API
@@ -71,10 +71,10 @@ To continue with the tutorial and build the application yourself, move on to the
71
71
72
72
To complete registration, provide the application a name, specify the supported account types, and add a redirect URI. Once registered, the application **Overview** pane displays the identifiers needed in the application source code.
73
73
74
-
1. Sign in to the [Azure portal](https://portal.azure.com).
75
-
1. If access to multiple tenants is available, use the **Directories + subscriptions** filter :::image type="icon" source="media/common/portal-directory-subscription-filter.png" border="false"::: in the top menu to switch to the tenant in which to register the application.
76
-
1.Search for and select**Azure Active Directory**.
77
-
1.Under**Manage**, select **App registrations > New registration**.
74
+
1. Sign in to the [Microsoft Entra admin center](https://entra.microsoft.com) as at least an [Application Developer](../roles/permissions-reference.md#application-developer).
75
+
1. If access to multiple tenants is available, use the **Directories + subscriptions** filter :::image type="icon" source="media/common/portal-directory-subscription-filter.png" border="false"::: in the top menu to switch to the tenant in which you want to register the application.
76
+
1.Browse to **Identity** >**Applications** > **App registrations**.
77
+
1.Select**New registration**.
78
78
1. Enter a **Name** for the application, such as _Angular-SPA-auth-code_.
79
79
1. For **Supported account types**, select **Accounts in this organizational directory only**. For information on different account types, select the **Help me choose** option.
80
80
1. Under **Redirect URI (optional)**, use the drop-down menu to select **Single-page-application (SPA)** and enter `http://localhost:4200` into the text box.
@@ -155,7 +155,7 @@ To complete registration, provide the application a name, specify the supported
155
155
exportclassAppModule {}
156
156
```
157
157
158
-
1. Replace the following values with the values obtained from the Azure portal. For more information about available configurable options, see [Initialize client applications](msal-js-initializing-client-applications.md).
158
+
1. Replace the following values with the values obtained from the Microsoft Entra admin center. For more information about available configurable options, see [Initialize client applications](msal-js-initializing-client-applications.md).
159
159
160
160
-`clientId` - The identifier of the application, also referred to as the client. Replace `Enter_the_Application_Id_Here` with the **Application (client) ID** value that was recorded earlier from the overview page of the registered application.
161
161
-`authority` - This is composed of two parts:
@@ -994,7 +994,7 @@ MSAL Angular provides an `Interceptor` class that automatically acquires tokens
994
994
995
995
## Add scopes and delegated permissions
996
996
997
-
The Microsoft Graph API requires the _User.Read_ scope to read a user's profile. The _User.Read_ scope is added automatically to every app registration you create in the Azure portal. Other APIs for Microsoft Graph, and custom APIs for your back-end server, might require other scopes. For example, the Microsoft Graph API requires the _Mail.Read_ scope in order to list the user's email.
997
+
The Microsoft Graph API requires the _User.Read_ scope to read a user's profile. The _User.Read_ scope is added automatically to every app registration. Other APIs for Microsoft Graph, and custom APIs for your back-end server, might require other scopes. For example, the Microsoft Graph API requires the _Mail.Read_ scope in order to list the user's email.
998
998
999
999
As you add scopes, your users might be prompted to provide extra consent for the added scopes.
0 commit comments