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
1. Sign in to the <ahref="https://portal.azure.com/"target="_blank">Azure portal</a>.
390
+
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).
391
391
1. If you have access to multiple tenants, 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.
392
-
1.Search for and select**Azure Active Directory**.
1.Browse to **Identity** >**Applications** > **Application registrations**.
393
+
1.Select**New registration**.
394
394
1. Enter a **Name** for your application, for example `UWP-App-calling-MSGraph`. Users of your app might see this name, and you can change it later.
395
395
1. Under **Supported account types**, select **Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox)**.
396
396
1. Select **Register**.
397
397
1. On the overview page, find the **Application (client) ID** value and copy it. Go back to Visual Studio, open *MainPage.xaml.cs*, and replace the value of `ClientId` with this value.
398
398
399
399
Configure authentication for your application:
400
400
401
-
1.Back in the <ahref="https://portal.azure.com/"target="_blank">Azure portal</a>, under **Manage**, select **Authentication** > **Add a platform**, and then select **Mobile and desktop applications**.
401
+
1.In to the Microsoft Entra admin center, select **Authentication** > **Add a platform**, and then select **Mobile and desktop applications**.
402
402
1. In the **Redirect URIs** section, enter `https://login.microsoftonline.com/common/oauth2/nativeclient`.
403
403
1. Select **Configure**.
404
404
405
405
Configure API permissions for your application:
406
406
407
-
1.Under **Manage**, select**API permissions** > **Add a permission**.
407
+
1.Select**API permissions** > **Add a permission**.
408
408
1. Select **Microsoft Graph**.
409
409
1. Select **Delegated permissions**, search for *User.Read*, and verify that **User.Read** is selected.
410
410
1. If you made any changes, select **Add permissions** to save them.
@@ -484,7 +484,7 @@ In the current sample, the `WithRedirectUri("https://login.microsoftonline.com/c
484
484
485
485
Youcanthenremovethelineofcodebecauseit's required only once, to fetch the value.
0 commit comments