Skip to content

Commit 99d5d2e

Browse files
Added note about scope format
------- cc: @jmprieur
1 parent 1fadae5 commit 99d5d2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/active-directory/develop/scenario-web-app-call-api-acquire-token.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ The code for ASP.NET is similar to the code shown for ASP.NET Core:
8585
- Finally, it calls the `AcquireTokenSilent` method of the confidential client application.
8686
- If interaction is required, the web app needs to challenge the user (re-sign in) and ask for more claims.
8787

88+
>[!NOTE]
89+
>The scope should be the fully qualified scope name. For example,`({api_uri}/scope)`.
90+
8891
The following code snippet is extracted from [HomeController.cs#L157-L192](https://github.com/Azure-Samples/ms-identity-aspnet-webapp-openidconnect/blob/257c8f96ec3ff875c351d1377b36403eed942a18/WebApp/Controllers/HomeController.cs#L157-L192) in the [ms-identity-aspnet-webapp-openidconnect](https://github.com/Azure-Samples/ms-identity-aspnet-webapp-openidconnect) ASP.NET MVC code sample:
8992

9093
```C#

0 commit comments

Comments
 (0)