Share via

Authentication with AzureAd

Krammer, Jörg 21 Reputation points
2022-08-04T13:46:13.107+00:00

Hi,

I registered my application in the Azure portal and downloaded the sample code AppModelv2-WebApp-OpenIDConnect-DotNet. After adjusting the web config and setting the values in the portal, I start the application locally and I can log in with my Microsoft account. The application shows me my claim data and in the portal I see a successful login logged.

I deployed the application to our IIS. The application starts, I can start and go through the login process, just like local, but in the end I end up back on the start page, no error message appears, successful authentication was logged in the Azure portal. But my application says I'm not logged in.

Does anyone have a hint for me?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments

Answer accepted by question author

Shweta Mathur 30,456 Reputation points Microsoft Employee Moderator
2022-08-08T07:14:16.57+00:00

Hi @Krammer, Jörg .

Thanks for reaching out.

Are you still facing the same issue? This can be due to the deployment is not expected as per IIS.

Could you please go through the document to troubleshoot the issue on IIS and inspect the page where you are landing after login is giving any 500 error?

Thanks,
Shweta

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.