# Turn off email login and only allow sign in through Azure AD connection

**URL:** <https://community.auth0.com/t/turn-off-email-login-and-only-allow-sign-in-through-azure-ad-connection/126190>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [January 31, 2024, 3:50pm UTC](https://community.auth0.com/t/turn-off-email-login-and-only-allow-sign-in-through-azure-ad-connection/126190 "2024-01-31T15:50:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kendyl.drayer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kendyl.drayer/32/54148_2.png) [@kendyl.drayer](https://community.auth0.com/u/kendyl.drayer)\
**Post date:** [January 31, 2024, 3:50pm UTC](https://community.auth0.com/t/turn-off-email-login-and-only-allow-sign-in-through-azure-ad-connection/126190/1 "2024-01-31T15:50:03Z")

</div>

We have an enterprise Azure AD connection setup. Is there a way to force users to _only_ login with this? In other words, can we turn off the email/password login ability? The reason behind this is we are rolling out a product with large portions that won’t work if the user is not authenticated with Microsoft.

---

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [January 31, 2024, 6:59pm UTC](https://community.auth0.com/t/turn-off-email-login-and-only-allow-sign-in-through-azure-ad-connection/126190/3 "2024-01-31T18:59:55Z")

</div>

Hi @kendyl.drayer

Welcome to the Auth0 Community!

To use only the Azure AD connection setup, you must turn off the application in other connections than the one you mentioned. In the Auth0 Dashboard, go to  
Authentication-\>Database Click on the connection, go to Applications, and turn off the app you are using to Authenticate users. If there are social connections that you want to turn off, do the same thing, but instead of going to Database, click on Social.

I hope this will help you.

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![kendyl.drayer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kendyl.drayer/32/54148_2.png) [@kendyl.drayer](https://community.auth0.com/u/kendyl.drayer)\
**Post date:** [January 31, 2024, 8:11pm UTC](https://community.auth0.com/t/turn-off-email-login-and-only-allow-sign-in-through-azure-ad-connection/126190/4 "2024-01-31T20:11:29Z")

</div>

Wow, I didn’t think it would be that easy. Thank you!

---

<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:** [February 14, 2024, 8:11pm UTC](https://community.auth0.com/t/turn-off-email-login-and-only-allow-sign-in-through-azure-ad-connection/126190/5 "2024-02-14T20:11:54Z")

</div>

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