Share via

how to resolve error AADSTS51004

Anonymous
2023-03-06T09:12:50+00:00

how to resolve error AADSTS51004 getting error in teams.

Microsoft Teams | Microsoft Teams for business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

24 answers

Sort by: Most helpful
  1. Anonymous
    2023-03-06T11:54:26+00:00

    Dear SDS Admin,

    Thanks for choosing Microsoft Community.

    Based on your description, I know your requirement. The user account doesn’t exist in the directory. An application likely chose the wrong tenant to sign into, and the currently logged in user was prevented from doing so since they did not exist in your tenant. If this user should be able to log in, add them as a guest. For further information, please visit add B2B users.

    Please check if this can help you, please be kindly to check whether you only get this error code when you log in Teams or also get this when you log in other Microsoft products like Outlook, One Drive and so on? Meanwhile, also check whether other users in your organization meet this error code or just one people meet this. Meanwhile, please be kindly to provide me the detailed screenshot about the error page. I will continue to help you based on the information you provide. Your understanding and co-operation are highly appreciated.

    Thanks for your precious time. Have a nice day.

    Sincerely,

    Katherine

    Was this answer helpful?

    5 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-05-22T13:35:15+00:00

    Dear Katherine,

    We have the same problem.

    Request Id: f726042c-a003-4579-be2f-baea49102400

    Correlation Id: 3a5ee57b-0eca-4d10-affd-49855a53d637

    Timestamp: 2023-05-22T13:24:13Z

    Message: AADSTS51004: The user account 6lJ2ZqrUFUeiH17Rvyql6w== does not exist in the 0d4f05ba-e5ca-4868-80f6-7542fb0d6b83 directory. To sign into this application, the account must be added to the directory.

    Was this answer helpful?

    4 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-06-26T11:58:31+00:00

    I have the same issue. So whats the answer?

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-10-30T14:43:01+00:00

    Request Id: d7b1c976-987e-4bf3-a385-78af56c22e00

    Correlation Id: 6b3b8e2e-18db-47b9-81a7-3760d5f88783

    Timestamp: 2023-10-30T14:39:11Z

    Message: AADSTS51004: The user account 08ff4034-99ff-4cef-aec5-819aedc7c47a does not exist in the 6a68b731-3521-4a68-a77e-94064600c059 directory. To sign into this application, the account must be added to the directory.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-06-20T17:58:34+00:00

    Dear Katherine

    I have exactly the same problem:

    (Screenshot attached but cannot see it...)

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments