Closed metro-mark closed 6 years ago
It's the same for me, except that I don't have AD FS; I use Azure AD. I created a forum discussion on my issue. I am using .NET Core 1.1.
you probably want to have a look at this sample: https://github.com/Azure-Samples/active-directory-dotnet-webapp-openidconnect-aspnetcore
This problem happens sometimes but not all the time. My organization has AD FS. I run F5, successfully login and stop debugging from VS. Sometimes even after successful login, cca.Users count in readmail shows zero. After logging out and logging in, the problem disappears. Is the problem due to having AD FS? It's been driving me crazy for a couple of months and any insight will be helpful. I have tried virtually all samples using openidconnect and they all have the same issue.