# Email does not match any enterprise directory when domain is written in home realm discovery

**URL:** <https://community.auth0.com/t/email-does-not-match-any-enterprise-directory-when-domain-is-written-in-home-realm-discovery/190688>\
**Category:** Get Help\
**Tags:** home-realm-discovery, login-experience\
**Created:** [August 17, 2025, 12:33am UTC](https://community.auth0.com/t/email-does-not-match-any-enterprise-directory-when-domain-is-written-in-home-realm-discovery/190688 "2025-08-17T00:33:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![thalen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thalen/32/71395_2.png) [@thalen](https://community.auth0.com/u/thalen)\
**Post date:** [August 17, 2025, 12:33am UTC](https://community.auth0.com/t/email-does-not-match-any-enterprise-directory-when-domain-is-written-in-home-realm-discovery/190688/1 "2025-08-17T00:33:56Z")

</div>

Hi!

I have been dealing with an issue where the email domain that is written in my enterprise ADFS home realm discovery is not being recognized. I have triple checked that word for word it is written in my HRD and in the login.

Here’s what I know:  
I am using enterprise ADFS SSO  
The ADFS connection is enabled with my application  
Displaying the connection as a button works, but it won’t pick up on the email domain  
The application uses business users - prompt for credentials  
The ADFS enterprise is the only enabled connection

Please let me know what I can do. If there is more information I can provide I’d be happy to send it. I have tried a similar forum which said to put the domain in the HRD identity provider list, but I already put the domain there.

Thank you very much.

---

<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:** [August 18, 2025, 1:13pm UTC](https://community.auth0.com/t/email-does-not-match-any-enterprise-directory-when-domain-is-written-in-home-realm-discovery/190688/3 "2025-08-18T13:13:35Z")

</div>

Hi @thalen,

Welcome to the Auth0 Community!

It sounds like you’ve followed the proper steps so far. I need to ask what your Authentication Profile settings are.

 ![Screenshot 2025-08-18 at 4.08.02 PM](https://global.discourse-cdn.com/auth0/original/3X/6/9/697a58cee1a209830c805e4ae15c4c64c3ba1479.png)

For the Home Realm Discovery feature to work, it needs to be set to one of the [`Identifier First`](https://auth0.com/docs/authenticate/login/auth0-universal-login/identifier-first) options.

Let me know if this fixes your issue.

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![thalen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thalen/32/71395_2.png) [@thalen](https://community.auth0.com/u/thalen)\
**Post date:** [August 18, 2025, 5:22pm UTC](https://community.auth0.com/t/email-does-not-match-any-enterprise-directory-when-domain-is-written-in-home-realm-discovery/190688/4 "2025-08-18T17:22:58Z")

</div>

Hi,  
Thank you for the response!  
Unfortunately I already have the Identifier First option selected.

Do you know if any other issues that could be causing it?  
I’ve done all of these:

```
Enterprise connection is enabled for my application
The email domain exactly matches the domain added in the domain field
Enterprise direct login works
Only one connection to the app, no conflicting connections
Authentication Profile is Identifier First
No typos on domain name
No logs show up when trying to put in email

```

---

<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:** [August 19, 2025, 7:20pm UTC](https://community.auth0.com/t/email-does-not-match-any-enterprise-directory-when-domain-is-written-in-home-realm-discovery/190688/5 "2025-08-19T19:20:40Z")

</div>

Hi again @thalen,

The most likely cause of this issue is a customized `Classic Universal Login` page. The absence of logs indicates the problem is happening client-side, within the login page’s code, before the email is ever submitted to Auth0’s servers to be processed for Home Realm Discovery (HRD).

1. In your Auth0 Dashboard, go to `Branding` \> `Universal Login`.
2. Scroll down and click on `Manage Classic Login` tab.
3. See which experience is selected: **New** or **Classic**.

- **If you are on “Classic”:** This is the likely source of the issue.

If you have any other questions, feel free to reach out!

Have a good one,  
Vlad

---

<div class="post-metadata">

**Author:** ![thalen](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/thalen/32/71395_2.png) [@thalen](https://community.auth0.com/u/thalen)\
**Post date:** [August 20, 2025, 9:15pm UTC](https://community.auth0.com/t/email-does-not-match-any-enterprise-directory-when-domain-is-written-in-home-realm-discovery/190688/6 "2025-08-20T21:15:22Z")

</div>

Hi!

I made a support ticket and the issue was that I still was using Business Users login experience and not Individuals. The language was a bit confusing but it seems that Individuals is the way to go for my scenario. Changing that fixed the issue for me. I appreciate the time you took as well.

Thank you,  
Thalen

---

<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:** [September 3, 2025, 9:15pm UTC](https://community.auth0.com/t/email-does-not-match-any-enterprise-directory-when-domain-is-written-in-home-realm-discovery/190688/7 "2025-09-03T21:15:39Z")

</div>

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