Skip to content

Commit 7e8e553

Browse files
authored
Merge pull request #26132 from msewaweru/freshness-auth-library
Freshness: Authentication library changes
2 parents afc7f74 + 3bc7d4a commit 7e8e553

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

concepts/migrate-azure-ad-graph-authentication-library.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.reviewer: krbash
77
ms.localizationpriority: medium
88
ms.topic: how-to
99
ms.subservice: entra-applications
10-
ms.date: 01/12/2024
10+
ms.date: 01/24/2025
1111
#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.
1212
---
1313

@@ -24,19 +24,13 @@ Most apps use an authentication library to acquire and manage access tokens to c
2424

2525
If your app still uses ADAL, use a two-stage migration approach:
2626

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`.
3428

3529
Newly acquired tokens have the same scopes after this change, but the audience of the access tokens is now Microsoft Graph.
3630

3731
Once you update **resourceURL** and verified functionality, release an interim update for your app users.
3832

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.
4034

4135
## Migrating to MSAL
4236

@@ -48,7 +42,7 @@ When you switch your app over to MSAL, you need to make a few changes, including
4842
var scopes = new string[] { "https://graph.microsoft.com/.default" };
4943
```
5044

51-
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.
5246

5347
Learn [.NET client library](migrate-azure-ad-graph-client-libraries.md) differences between Azure Active Directory (Azure AD) Graph and Microsoft Graph.
5448

0 commit comments

Comments
 (0)