Entra Connect·PTA 외부 통신 검증
Prove each dependency before changing the production allowlist
Separate Microsoft Entra Connect Sync, Pass-through Authentication and operating-system traffic, then validate observed endpoints with Microsoft documentation and repeatable positive and negative tests.
Executive Summary
A proxy deny log is evidence that a connection was attempted. It is not, by itself, evidence that the destination is required by Microsoft Entra Connect Sync or Pass-through Authentication (PTA).
In a restricted-egress environment, collect traffic separately for the Connect server, each PTA agent and test clients. Classify every candidate endpoint, verify it against current Microsoft documentation, and prove functional dependency by allowing only that candidate and then blocking it again. This avoids adding browser, Windows, tenant-specific and third-party traffic to a production identity allowlist.
Microsoft currently documents outbound TCP 443 for PTA feature operations and TCP 80 for certificate revocation checks. TCP 8080 is optional for agent status reporting when 443 is unavailable and is not used for user sign-ins. Older Connect or PTA agent versions can require additional ports, so installed versions must be recorded before a firewall decision is made.
한국어 요약
프록시의 차단 기록은 통신을 시도했다는 뜻이며, 해당 주소를 반드시 허용해야 한다는 근거는 아닙니다. Entra Connect 서버, PTA 서버와 사용자 기기의 기록을 나누고 호출 프로세스와 기능의 실패·복구 여부를 확인하세요.
PTA는 기능 통신에 TCP 443, 인증서 폐기 확인에 TCP 80을 사용합니다. TCP 8080은 443을 사용할 수 없을 때 상태 보고에만 선택적으로 사용합니다. 구버전 에이전트의 추가 포트는 설치 버전별로 확인하세요. PTA와 Microsoft Entra 사이의 송신 TLS 통신에는 중간 검사나 TLS 종료를 적용하지 않습니다.
Scope and Decision Principles
This guide covers:
- Microsoft Entra Connect Sync outbound connectivity
- Microsoft Entra Pass-through Authentication agents
- Microsoft Entra Connect Health where it is installed
- explicit outbound proxy and firewall allowlist validation
It does not convert a lab observation into a universal Microsoft endpoint list. Sovereign clouds, optional Connect features, tenant configuration and agent versions can change the required destinations.
Use these decision rules:
- Record source IP, hostname, component, agent version, test window and tested function.
- Rotate or isolate proxy logs before each test.
- Exclude client, browser and unrelated Windows traffic from the identity-component decision.
- Treat Microsoft documentation as the baseline, not the final proof for a specific deployment.
- Require functional recovery and a repeatable negative test before adding an observed-only endpoint.
- Review rules after agent upgrades and Microsoft documentation changes.
Reference Architecture
The management plane and direct Internet path should be controlled separately. A lab must prove that the tested servers cannot bypass the proxy through another gateway or network adapter.
Endpoint Classification
Microsoft-Documented PTA Baseline
Older versions can require TCP 5671, 8080, 9090–9091, 9350, 9352 and 10100–10120. Do not permanently allow or block these ports based only on a generic table. Record the installed Entra Connect, PTA and Connect Health versions, then apply the documentation that matches those versions.
TLS inspection exception: Avoid inline inspection and TLS termination on outbound TLS traffic between the PTA agent and Microsoft Entra endpoints. Apply the exception narrowly to the documented agent traffic rather than disabling security monitoring broadly.
Proxy Configuration Boundaries
Connect Sync also has an authentication migration deadline: upgrade to 2.6.84.0 or later and configure application-based authentication by April 7, 2027. Microsoft warns that synchronization stops after that date if both requirements are not met. This is a Connect Sync requirement, not a PTA agent version number. Include the authentication path and registration/update traffic in the egress tests; see current Connect prerequisites.
Microsoft Entra Connect installation and Sync are .NET applications. Microsoft documents the machine-level .NET Framework machine.config proxy setting for these components. Back up the file, validate its XML, restart the relevant service in a controlled window, and recheck the setting after change management.
For Connect Sync, set the proxy connection idle timeout to at least 6 minutes. Microsoft Entra ID can take up to 5 minutes to answer a directory-synchronization request. A shorter proxy timeout can interrupt that request even when the destination is allowed; check this separately from firewall denies. See Connect connectivity prerequisites.
The PTA agent runs as a Windows service and can require its own service configuration when WPAD is not available. Do not assume that a user-level browser proxy or WinHTTP setting automatically covers the PTA service context.
For an authenticated Connect Sync proxy, the service account must be a domain account configured through custom installation. The installation wizard normally uses the signed-in user's credentials, while the Configure page and sync engine use the service account. A successful browser test therefore does not establish that synchronization can authenticate to the proxy. See Connect proxy authentication requirements.
The XML below follows the PTA service proxy example. Apply it to the documented agent service configuration; do not assume that editing the Connect Sync machine.config also configures PTA. Use placeholders in operational documentation:
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true">
<proxy
usesystemdefault="true"
proxyaddress="http://<proxy-fqdn>:<port>"
bypassonlocal="true"
/>
</defaultProxy>
</system.net>
Never publish real proxy addresses, internal hostnames, tenant domains or credentials in shared runbooks.
Validation Workflow
Identify the agent that processed the sign-in
Multiple PTA agents provide availability, not deterministic load balancing. Another agent can process a request while the agent under test is blocked. In an isolated test environment, correlate the sign-in log's Authentication Method Detail PTA AgentId with the installed agent's ID before deciding whether the blocked endpoint is unnecessary. The PTA FAQ documents this comparison.
Do not disconnect all production agents to run a negative test. Password hash synchronization does not automatically take over when PTA becomes unavailable. Keep the test environment and production authentication path separate.
Production Egress Rule Matrix
The final rule set should contain, at minimum:
Common Failure Modes
- Mixing client and server traffic, then treating every domain as an identity dependency
- Allowing a domain because it appeared frequently in deny logs
- Using expiring screenshot links as operational evidence