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.
2 parents f2afd0f + 0e263e6 commit 15a434cCopy full SHA for 15a434c
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