Single Sign-On using Microsoft Account to login through Azure RRS feed

  • Question

  • Hi am trying Microsoft Single Sign-on authentication to my Login page.For that i have used to create Azure multi-tenant directories and created Application with redirect-URI as per given link https://www.c-sharpcorner.com/article/azure-ad-authentication-for-mvc-web-application/ . Successfully integrated the code, while running i am getting microsoft sign on page after enter the username and password i am getting below error.

    Error : AADSTS50020: User account 'xxxxxx@outlook.com' from identity provider 'live.com' does not exist in tenant 'SampleApp' and cannot access the application 'xxxxxxx-xxxxxxx'( in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

    • Moved by CoolDadTx Tuesday, July 14, 2020 1:52 PM ASP.NET related
    Tuesday, July 14, 2020 11:12 AM

All replies

  • This forum is for C#-specific questions only. Please post questions related to web development in the ASP.NET forums. For Azure questions please post in the Azure forums.

    Michael Taylor http://www.michaeltaylorp3.net

    Tuesday, July 14, 2020 1:52 PM