microsoftgraph / aspnetcore-connect-sample

[ARCHIVED] This ASP.NET Core MVC sample shows how to connect to Microsoft Graph using delegated permissions and the Azure AD v2.0 (MSAL) endpoint.
MIT License
123 stars 96 forks source link

After signin in to AAD - Exception: Correlation failed. #59

Closed maszeq closed 4 years ago

maszeq commented 4 years ago

Hi, I've followed the sample, when I run the IIS on localhost and click Sign In then go through the authentication process I end up with:

An unhandled exception occurred while processing the request.

Exception: Correlation failed. Unknown location

Exception: An error was encountered while handling the remote login. Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler.HandleRequestAsync()

mark-szabo commented 4 years ago

Thanks @maszeq for the report! I'll migrate to .NET Core 3.1 and refactor this sample in about two weeks time and will try to repro this issue as well. 🙂

mark-szabo commented 4 years ago

Hia @maszeq the migration has been completed, the authentication libraries upgraded. I wasn't able to repro the aforementioned issue. Can you please re-check and in case the problem still persist, provide mw with more information (what kind of account did you use to log in, etc)?