# Login with Microsoft issue: "We couldn't find a Microsoft account"

**URL:** <https://community.auth0.com/t/login-with-microsoft-issue-we-couldnt-find-a-microsoft-account/185531>\
**Category:** Get Help\
**Tags:** login-prompt-new-experience, login-experience\
**Created:** [April 15, 2025, 9:59pm UTC](https://community.auth0.com/t/login-with-microsoft-issue-we-couldnt-find-a-microsoft-account/185531 "2025-04-15T21:59:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex54](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alex54/32/70995_2.png) [@alex54](https://community.auth0.com/u/alex54)\
**Post date:** [April 15, 2025, 9:59pm UTC](https://community.auth0.com/t/login-with-microsoft-issue-we-couldnt-find-a-microsoft-account/185531/1 "2025-04-15T21:59:17Z")

</div>

Ready to post? 🔍 First, try searching for your answer.  
Have seen this error a few times for an important new customer, and have a call with them tomorrow so really need to fix asap. We are certain that the users logging in DO have a Microsoft account, and that they are using the email address associated with that account. See attached (email blacked out). Any ideas or explanations would be much appreciated!

 ![Login with Microsoft error](https://global.discourse-cdn.com/auth0/original/3X/1/f/1f87eb86054fc89c35bde36b2fca4946128b793b.png)

---

<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 16, 2025, 2:08pm UTC](https://community.auth0.com/t/login-with-microsoft-issue-we-couldnt-find-a-microsoft-account/185531/3 "2025-04-16T14:08:43Z")

</div>

Hi @alex54,

Welcome to the Auth0 Community!

Are you using the Microsoft Social connection and the client is trying to use a personal Microsoft account, or are you using one of the Enterprise Microsoft connections and the client is using his work email?

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![alex54](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alex54/32/70995_2.png) [@alex54](https://community.auth0.com/u/alex54)\
**Post date:** [April 16, 2025, 2:49pm UTC](https://community.auth0.com/t/login-with-microsoft-issue-we-couldnt-find-a-microsoft-account/185531/4 "2025-04-16T14:49:47Z")

</div>

Thank you, Vlad! I didn’t set this up, but looks like we’re using a social connection (tried to attach or include screenshot, but unable to). Google auth has been working fine, but we’ve had these issues with Microsoft a few times now. The clients are using their Microsoft work email accounts. Does that not work with the Social connection? What should we do next?

---

<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 16, 2025, 4:35pm UTC](https://community.auth0.com/t/login-with-microsoft-issue-we-couldnt-find-a-microsoft-account/185531/5 "2025-04-16T16:35:48Z")

</div>

Unfortunately Microsoft work email accounts don’t work with the Microsoft social connection since the strategy for it is using personal accounts.

 ![Screenshot 2025-04-16 at 19.33.50](https://global.discourse-cdn.com/auth0/original/3X/e/c/ec4ad46c150a4aa539a1a5b0a7ea4ad3cd2224c7.png)

As this post mentions, you will need to create a Microsoft Enterprise Connection instead of a Social one if you want work accounts to sign in.

> [@Microsoft Social login not working for business accounts](https://community.auth0.com/t/microsoft-social-login-not-working-for-business-accounts/40289/7):
>
> I’ve got the same problem, but solved to create an “Enterprise” authentication. If you want to connect “Work or School” accounts, you need to create an authentication in “Enterprise” not “Social”. In my case, both of my personal account and business account were accepted. And as the link above yasin.akar.vtc quoted said, “Auth0 not support get refresh token of …” is true.

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

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![alex54](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/alex54/32/70995_2.png) [@alex54](https://community.auth0.com/u/alex54)\
**Post date:** [April 16, 2025, 7:28pm UTC](https://community.auth0.com/t/login-with-microsoft-issue-we-couldnt-find-a-microsoft-account/185531/6 "2025-04-16T19:28:00Z")

</div>

Thanks Vlad. I’m getting stuck here. Any direction you can give on what the ADFS URL should be?

---

<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 17, 2025, 12:49pm UTC](https://community.auth0.com/t/login-with-microsoft-issue-we-couldnt-find-a-microsoft-account/185531/7 "2025-04-17T12:49:35Z")

</div>

Hi,

You should be using the Microsoft Azure AD Connection instead of the ADFS one.

> **[Connect Your App to Microsoft Azure Active Directory](https://auth0.com/docs/authenticate/identity-providers/enterprise-identity-providers/azure-active-directory/v2?_gl=1*8rk2w0*_gcl_au*MTg0ODM1NzMyNi4xNzQyOTA3Njk4*_ga*MTczMjQwNjQyMC4xNzQxMDk1MDU1*_ga_QKMSDV5369*czE3NDQ4OTE5MDYkbzE1JGcxJHQxNzQ0ODkyMTkxJGo2JGwwJGgw)**
>
> Learn how to connect your app to Microsoft Azure Active Directory using an enterprise connection.

If you have any other questions 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:** [May 1, 2025, 12:49pm UTC](https://community.auth0.com/t/login-with-microsoft-issue-we-couldnt-find-a-microsoft-account/185531/8 "2025-05-01T12:49:58Z")

</div>

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