Public mode

No access to your tenant or devices. Every item links to its source. What this means

Some sources or documents need attention: 258/260 feeds/APIs · 416/439 docs · checked 22:55 UTC Customize Public modeDiscuss ChangeIntel on Discord

Hybrid identity ports and protocols

This page's changes and edits · All guidance changes

Microsoft's edit ·

Part 1 - moving files

Microsoft's commit message in MicrosoftDocs/entra-docs · commit 5fd9235 · +108 −0 lines · also on GitHub

The file is new at this commit, or was moved here from another path: every line shows as added.

1 +---
2 +title: 'Hybrid Identity required ports and protocols - Azure'
3 +description: This page is a technical reference page for ports that are required to be open for Azure AD Connect
4 +services: active-directory
5 +documentationcenter: ''
6 +author: billmath
7 +manager: amycolannino
8 +ms.assetid: de97b225-ae06-4afc-b2ef-a72a3643255b
9 +ms.service: active-directory
10 +ms.workload: identity
11 +ms.tgt_pltfrm: na
12 +ms.topic: reference
13 +ms.date: 01/19/2023
14 +ms.subservice: hybrid
15 +ms.author: billmath
16 +
17 +ms.collection: M365-identity-device-management
18 +---
19 +# Hybrid Identity Required Ports and Protocols
20 +The following document is a technical reference on the required ports and protocols for implementing a hybrid identity solution. Use the following illustration and refer to the corresponding table.
21 +
22 +![What is Azure AD Connect](./media/reference-connect-ports/required3.png)
23 +
24 +## Table 1 - Azure AD Connect and On-premises AD
25 +This table describes the ports and protocols that are required for communication between the Azure AD Connect server and on-premises AD.
26 +
27 +| Protocol | Ports | Description |
28 +| --- | --- | --- |
29 +| DNS |53 (TCP/UDP) |DNS lookups on the destination forest. |
30 +| Kerberos |88 (TCP/UDP) |Kerberos authentication to the AD forest. |
31 +| MS-RPC |135 (TCP) |Used during the initial configuration of the Azure AD Connect wizard when it binds to the AD forest, and also during Password synchronization. |
32 +| LDAP |389 (TCP/UDP) |Used for data import from AD. Data is encrypted with Kerberos Sign & Seal. |
33 +| SMB | 445 (TCP) |Used by Seamless SSO to create a computer account in the AD forest and during password writeback. For more information, see [Change a user account's password](/openspecs/windows_protocols/ms-adod/d211aaba-d188-4836-8007-8c62f7c9402d). |
34 +| LDAP/SSL |636 (TCP/UDP) |Used for data import from AD. The data transfer is signed and encrypted. Only used if you are using TLS. |
35 +| RPC |49152- 65535 (Random high RPC Port) (TCP) |Used during the initial configuration of Azure AD Connect when it binds to the AD forests, and during Password synchronization. If the dynamic port has been changed, you need to open that port. See [KB929851](https://support.microsoft.com/kb/929851), [KB832017](https://support.microsoft.com/kb/832017), and [KB224196](https://support.microsoft.com/kb/224196) for more information. |
36 +|WinRM | 5985 (TCP) |Only used if you are installing AD FS with gMSA by Azure AD Connect Wizard|
37 +|AD DS Web Services | 9389 (TCP) |Only used if you are installing AD FS with gMSA by Azure AD Connect Wizard |
38 +| Global Catalog | 3268 (TCP) | Used by Seamless SSO to query the global catalog in the forest before creating a computer account in the domain. |
39 +
40 +## Table 2 - Azure AD Connect and Azure AD
41 +This table describes the ports and protocols that are required for communication between the Azure AD Connect server and Azure AD.
42 +
43 +| Protocol | Ports | Description |
44 +| --- | --- | --- |
45 +| HTTP |80 (TCP) |Used to download CRLs (Certificate Revocation Lists) to verify TLS/SSL certificates. |
46 +| HTTPS |443 (TCP) |Used to synchronize with Azure AD. |
47 +
48 +For a list of URLs and IP addresses you need to open in your firewall, see [Office 365 URLs and IP address ranges](https://support.office.com/article/Office-365-URLs-and-IP-address-ranges-8548a211-3fe7-47cb-abb1-355ea5aa88a2) and [Troubleshooting Azure AD Connect connectivity](tshoot-connect-connectivity.md#connectivity-issues-in-the-installation-wizard).
49 +
50 +## Table 3 - Azure AD Connect and AD FS Federation Servers/WAP
51 +This table describes the ports and protocols that are required for communication between the Azure AD Connect server and AD FS Federation/WAP servers.
52 +
53 +| Protocol | Ports | Description |
54 +| --- | --- | --- |
55 +| HTTP |80 (TCP) |Used to download CRLs (Certificate Revocation Lists) to verify TLS/SSL certificates. |
56 +| HTTPS |443 (TCP) |Used to synchronize with Azure AD. |
57 +| WinRM |5985 |WinRM Listener |
58 +
59 +## Table 4 - WAP and Federation Servers
60 +This table describes the ports and protocols that are required for communication between the Federation servers and WAP servers.
61 +
62 +| Protocol | Ports | Description |
63 +| --- | --- | --- |
64 +| HTTPS |443 (TCP) |Used for authentication. |
65 +
66 +## Table 5 - WAP and Users
67 +This table describes the ports and protocols that are required for communication between users and the WAP servers.
68 +
69 +| Protocol | Ports | Description |
70 +| --- | --- | --- |
71 +| HTTPS |443 (TCP) |Used for device authentication. |
72 +| TCP |49443 (TCP) |Used for certificate authentication. |
73 +
74 +## Table 6a & 6b - Pass-through Authentication with Single Sign On (SSO) and Password Hash Sync with Single Sign On (SSO)
75 +The following tables describes the ports and protocols that are required for communication between the Azure AD Connect and Azure AD.
76 +
77 +### Table 6a - Pass-through Authentication with SSO
78 +| Protocol | Ports | Description |
79 +| --- | --- | --- |
80 +| HTTP |80 (TCP)|Used to download CRLs (Certificate Revocation Lists) to verify TLS/SSL certificates. Also needed for the connector auto-update capability to function properly. |
81 +| HTTPS |443 (TCP)|Used to enable and disable the feature, register connectors, download connector updates, and handle all user sign-in requests. |
82 +
83 +In addition, Azure AD Connect needs to be able to make direct IP connections to the [Azure data center IP ranges](https://www.microsoft.com/download/details.aspx?id=41653).
84 +
85 +### Table 6b - Password Hash Sync with SSO
86 +
87 +| Protocol | Ports | Description |
88 +| --- | --- | --- |
89 +| HTTPS |443 (TCP)|Used to enable SSO registration (required only for the SSO registration process).
90 +
91 +In addition, Azure AD Connect needs to be able to make direct IP connections to the [Azure data center IP ranges](https://www.microsoft.com/download/details.aspx?id=41653). Again, this is only required for the SSO registration process.
92 +
93 +## Table 7a & 7b - Azure AD Connect Health agent for (AD FS/Sync) and Azure AD
94 +The following tables describe the endpoints, ports, and protocols that are required for communication between Azure AD Connect Health agents and Azure AD
95 +
96 +### Table 7a - Ports and Protocols for Azure AD Connect Health agent for (AD FS/Sync) and Azure AD
97 +This table describes the following outbound ports and protocols that are required for communication between the Azure AD Connect Health agents and Azure AD.
98 +
99 +| Protocol | Ports | Description |
100 +| --- | --- | --- |
101 +| Azure Service Bus |5671 (TCP) | Used to send health information to Azure AD. (recommended but not required in latest versions)|
102 +| HTTPS |443 (TCP) |Used to send health information to Azure AD. (failback)|
103 +
104 +If 5671 is blocked, the agent falls back to 443, but using 5671 is recommended. This endpoint isn't required in the latest version of the agent.
105 +The latest Azure AD Connect Health agent versions only require port 443.
106 +
107 +### 7b - Endpoints for Azure AD Connect Health agent for (AD FS/Sync) and Azure AD
108 +For a list of endpoints, see [the Requirements section for the Azure AD Connect Health agent](how-to-connect-health-agent-install.md#requirements).

Microsoft's Markdown source from MicrosoftDocs/entra-docs, © Microsoft Corporation, under MIT. Changed lines with up to 3 unchanged lines around each; ChangeIntel kept this copy 10 Oct 04:48 UTC. The commit date is when the source changed, which can be hours or days before Learn published it.

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 20 Oct 22:55 UTC · 258 of 260 readable · 256 fully read · documentation 416/439 current