microsoft-graph-docs
microsoft-graph-docs copied to clipboard
Example for "Integrated Windows provider" has at least a typo
var result = await publicClientApplication.AcquireTokenByIntegratedWindowsAuth(scopes).ExecuteAsync(); ;
// get the token and return it in your own way
return Task.FromResult(result.A);
Can't be correct.
But I have the strong fealing, the whole example doesn't work.
https://learn.microsoft.com/en-us/graph/sdks/choose-authentication-providers?tabs=CS#integrated-windows-provider
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 4537f77e-a8e8-e3f1-9cc4-2fd930db7ada
- Version Independent ID: 46396fa2-f7e2-322e-5e76-f9e2d17d1b48
- Content: Choose a Microsoft Graph authentication provider - Microsoft Graph
- Content Source: concepts/sdks/choose-authentication-providers.md
- Product: non-product-specific
- Technology: microsoft-graph
- GitHub Login: @MIchaelMainer
- Microsoft Alias: MSGraphDocsVteam