# Microsoft login issue account needs to be added as external tenant

**URL:** <https://community.auth0.com/t/microsoft-login-issue-account-needs-to-be-added-as-external-tenant/185204>\
**Category:** Get Help\
**Tags:** azure-ad-enterprise-connection, connections\
**Created:** [April 9, 2025, 8:56am UTC](https://community.auth0.com/t/microsoft-login-issue-account-needs-to-be-added-as-external-tenant/185204 "2025-04-09T08:56:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ali6](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ali6/32/60184_2.png) [@ali6](https://community.auth0.com/u/ali6)\
**Post date:** [April 9, 2025, 8:56am UTC](https://community.auth0.com/t/microsoft-login-issue-account-needs-to-be-added-as-external-tenant/185204/1 "2025-04-09T08:56:20Z")

</div>

Ready to post? 🔍 First, try searching for your answer.  
We are using auth0 login and signup for our react app to allow users to signup. It has the google and Microsoft logins integrated into it and the microsoft is also working for some accounts but for some recent accounts it has been showing this error ( shown in the picture ) We have all the recommended settings enabled, all types of users/tenants are allowed in the azure AD.

“User account ‘[my email]’ from identity provider ‘[my organization]’ does not exist in tenant ‘Qarar Professional’ and cannot access the application. 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.”

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [April 9, 2025, 1:38pm UTC](https://community.auth0.com/t/microsoft-login-issue-account-needs-to-be-added-as-external-tenant/185204/3 "2025-04-09T13:38:19Z")

</div>

Hi @ali6,

The Microsoft documentation should help troubleshooting this problem:

> **[Error AADSTS50020 - User account from identity provider does not exist in tenant](https://learn.microsoft.com/en-us/troubleshoot/entra/entra-id/app-integration/error-code-aadsts50020-user-account-identity-provider-does-not-exist)**
>
> Troubleshoot scenarios in which a guest user unsuccessfully tries to sign in to the resource tenant and error code AADSTS50020 is returned.

If you have any other question feel free to reach out.

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 23, 2025, 1:38pm UTC](https://community.auth0.com/t/microsoft-login-issue-account-needs-to-be-added-as-external-tenant/185204/4 "2025-04-23T13:38:41Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
