❔ ASP.NET Core WebAPI - Cannot choose the AuthenticationScheme for MicrosoftGraphs?
So I am using the Microsoft.Identity.Web Package to get the access token for a user. This works perfectly fine in Swagger.
AppSettings.Json
Startup.cs
The problem is when I try to access The Graph in a Get Method in the controller
I get an error on "CalendarCollectionResponse calendars = await graphServiceClient.Me.Calendars.GetAsync();"
I have come across this post
Any Ideas?
AppSettings.Json
Startup.cs
The problem is when I try to access The Graph in a Get Method in the controller
I get an error on "CalendarCollectionResponse calendars = await graphServiceClient.Me.Calendars.GetAsync();"
I have come across this post
https://github.com/AzureAD/microsoft-identity-web/wiki/multiple-authentication-schemesto help me but in the latest version .Request() was removed.
Any Ideas?
