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: concepts/migrate-azure-ad-graph-authentication-library.md
+4-10Lines changed: 4 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.reviewer: krbash
7
7
ms.localizationpriority: medium
8
8
ms.topic: how-to
9
9
ms.subservice: entra-applications
10
-
ms.date: 01/12/2024
10
+
ms.date: 01/24/2025
11
11
#Customer intent: As a developer, I want to learn what authentication libraries to use, so that I can update my code accordingly as I migrate my app from Azure AD Graph to Microsoft Graph.
12
12
---
13
13
@@ -24,19 +24,13 @@ Most apps use an authentication library to acquire and manage access tokens to c
24
24
25
25
If your app still uses ADAL, use a two-stage migration approach:
26
26
27
-
1. Update your app to acquire access tokens for Microsoft Graph. Continue to use ADAL for this step. Update the **resourceURL**, which holds the URI representing the resource web API, from:
28
-
29
-
`https://graph.windows.net`
30
-
31
-
To:
32
-
33
-
`https://graph.microsoft.com`
27
+
1. Update your app to acquire access tokens for Microsoft Graph. Continue to use ADAL for this step. Update the **resourceURL**, which holds the URI representing the resource web API, from `https://graph.windows.net` to `https://graph.microsoft.com`.
34
28
35
29
Newly acquired tokens have the same scopes after this change, but the audience of the access tokens is now Microsoft Graph.
36
30
37
31
Once you update **resourceURL** and verified functionality, release an interim update for your app users.
38
32
39
-
1.Next, begin migrating your app to use MSAL, which is the only supported library, now that ADAL is retired.
33
+
1. Next, begin migrating your app to use MSAL, which is the only supported library, now that ADAL is retired.
40
34
41
35
## Migrating to MSAL
42
36
@@ -48,7 +42,7 @@ When you switch your app over to MSAL, you need to make a few changes, including
The expression above limits the permission scopes request to the scopes configured during application registration in the Microsoft Entra admin center, and saves your existing users from having to consent to your app again.
45
+
This expression restricts the permission scopes to those configured on the app registration in the Microsoft Entra admin center, preventing existing users from needing to re-consent to your app.
52
46
53
47
Learn [.NET client library](migrate-azure-ad-graph-client-libraries.md) differences between Azure Active Directory (Azure AD) Graph and Microsoft Graph.
0 commit comments