Skip to content

Commit 3803413

Browse files
committed
add more details around access token retrieval
1 parent c59c954 commit 3803413

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

articles/app-service/scenario-secure-app-access-microsoft-graph-as-user.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ms.custom: azureday1, devx-track-dotnet, AppServiceIdentity
1919

2020
Your web app now has the required permissions and also adds Microsoft Graph's client ID to the login parameters.
2121

22-
Using the [Microsoft.Identity.Web library](https://github.com/AzureAD/microsoft-identity-web/), the web app gets an access token for authentication with Microsoft Graph. In version 1.2.0 and later, the Microsoft.Identity.Web library integrates with and can run alongside the App Service authentication/authorization module. Microsoft.Identity.Web detects that the web app is hosted in App Service and gets the access token from the App Service authentication/authorization module. The access token is then passed along to authenticated requests with the Microsoft Graph API.
22+
Using the [Microsoft.Identity.Web library](https://github.com/AzureAD/microsoft-identity-web/), the web app gets an access token for authentication with Microsoft Graph. In version 1.2.0 and later, the Microsoft.Identity.Web library integrates with and can run alongside the App Service authentication/authorization module. Microsoft.Identity.Web detects that the web app is hosted in App Service and automatically retrieves the access token from the `X-MS-TOKEN-AAD-ACCESS-TOKEN` request header that App Service injects. You don't need to manually access this header in your code. The access token is then passed along to authenticated requests with the Microsoft Graph API.
2323

2424
To see this code as part of a sample application, see the:
2525
* [Sample on GitHub](https://github.com/Azure-Samples/ms-identity-easyauth-dotnet-storage-graphapi/tree/main/2-WebApp-graphapi-on-behalf).

0 commit comments

Comments
 (0)