We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 480d8c1 commit 0e263e6Copy full SHA for 0e263e6
articles/cognitive-services/Speech-Service/how-to-configure-azure-ad-auth.md
@@ -51,6 +51,7 @@ Here's an example of using Azure Identity to get an Azure AD access token from a
51
TokenRequestContext context = new Azure.Core.TokenRequestContext(new string[] { "https://cognitiveservices.azure.com/.default" });
52
InteractiveBrowserCredential browserCredential = new InteractiveBrowserCredential();
53
var browserToken = browserCredential.GetToken(context);
54
+string aadToken = browserToken.Token;
55
```
56
The token context must be set to "https://cognitiveservices.azure.com/.default".
57
::: zone-end
0 commit comments