# Connecting AzureAD that's behind a firewall

**URL:** <https://community.auth0.com/t/connecting-azuread-thats-behind-a-firewall/183764>\
**Category:** Get Help\
**Tags:** azure-ad-enterprise-connection, connections\
**Created:** [March 12, 2025, 10:54am UTC](https://community.auth0.com/t/connecting-azuread-thats-behind-a-firewall/183764 "2025-03-12T10:54:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoavCy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yoavcy/32/56343_2.png) [@yoavCy](https://community.auth0.com/u/yoavCy)\
**Post date:** [March 12, 2025, 10:54am UTC](https://community.auth0.com/t/connecting-azuread-thats-behind-a-firewall/183764/1 "2025-03-12T10:54:49Z")

</div>

I’d like to add an Enterprise Connection to a Microsoft Azure AD server (AKA Microsoft Entra ID)

Since that server is behind a firewall, which addresses and ports (or any other configuration) should I allow in its firewall, so that auth0 servers will be able to properly access it?

---

<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:** [March 12, 2025, 3:35pm UTC](https://community.auth0.com/t/connecting-azuread-thats-behind-a-firewall/183764/2 "2025-03-12T15:35:45Z")

</div>

Hi @yoavCy

Welcome to the Auth0 Community!

You can check the ip ranges depending on the public region from documentation here → [Auth0 IP Addresses for Allow Lists](https://auth0.com/docs/secure/security-guidance/data-security/allowlist#public-cloud)

Thanks  
Dawid

---

<div class="post-metadata">

**Author:** ![yoavCy](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/yoavcy/32/56343_2.png) [@yoavCy](https://community.auth0.com/u/yoavCy)\
**Post date:** [March 13, 2025, 8:33am UTC](https://community.auth0.com/t/connecting-azuread-thats-behind-a-firewall/183764/3 "2025-03-13T08:33:22Z")

</div>

Thanks for the quick response!  
Do you know if there specific ports and protocols, or should all kind of communication be allowed from these IPs?

---

<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:** [March 27, 2025, 8:33am UTC](https://community.auth0.com/t/connecting-azuread-thats-behind-a-firewall/183764/4 "2025-03-27T08:33:24Z")

</div>

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