Skip to content

Commit 8fe2aca

Browse files
committed
Freshness: Authentication library changes
1 parent 195a0a1 commit 8fe2aca

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

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

Lines changed: 4 additions & 8 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/21/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

@@ -26,17 +26,13 @@ If your app still uses ADAL, use a two-stage migration approach:
2626

2727
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:
2828

29-
`https://graph.windows.net`
30-
31-
To:
32-
33-
`https://graph.microsoft.com`
29+
`https://graph.windows.net` to `https://graph.microsoft.com`
3430

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

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

39-
1. Next, begin migrating your app to use MSAL, which is the only supported library, now that ADAL is retired.
35+
1. Next, begin migrating your app to use MSAL, which is the only supported library, now that ADAL is retired.
4036

4137
## Migrating to MSAL
4238

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

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.
47+
This expression restricts the permission scopes to those configured during the application's registration in the Microsoft Entra admin center, preventing existing users from needing to re-consent to your app.
5248

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

0 commit comments

Comments
 (0)