Personal account login fail through OAuth

scarecrow kakashi 246 Reputation points
2022-09-28T11:24:27.937+00:00

Personal account login fail through OAuth

I register a app as blow:
245581-61.png
245563-62.png

And following https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-device-code to login

Get device code
245582-63.png

Enter device and login with personal account.
245508-shadoubudong.png

Why personal account login fail?

Microsoft Security Microsoft Entra Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. Olga Os - MSFT 5,951 Reputation points Microsoft Employee
    2022-09-28T17:01:39.59+00:00

    Hello @scarecrow kakashi ,

    Welcome to the MS Q@A Forum.

    Based on the sign-in error message, account "test...@harsh.com .com" doesn't exist in partner tenant and cannot access application.

    To resolve it, you please make sure that the user is added as a guest user to the partner tenant or one of the Partner Admin Groups i.e. AdminAgents in the Partner tenant.

    Please see our public document regarding this error, possible causes, and solutions: "Error AADSTS50020 - User account from identity provider does not exist in tenant".

    I hope above solutions will work to resolve issue you are reporting.

    --------------------------------------------------------

    Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.

    Sincerely,
    Olga Os

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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