Sign-in & Login Problems

Troubleshoot External AD FS Proxy TLS Errors on Windows Server

Khadija KhanKhadija Khan Nov 22, 2026 868 views

Question details

Determine why external AD FS access through Web Application Proxy produces a TLS security error while internal access works.

Troubleshoot External AD FS Proxy TLS Errors on Windows Server
Product
Active Directory Federation Services and Web Application Proxy
Device & OS
Windows Server 2012 R2
Scenario
An AD FS farm is accessible internally, and its Web Application Proxy can retrieve configuration. The administrator wants to verify external authentication for Microsoft 365 and other services.
Observed behavior
External access through the proxy produces a TLS security error, despite the proxy using a wildcard certificate.
Before you start

Identify the AD FS service FQDN, the public IP address of the Web Application Proxy, and the exact browser TLS error. Have access to public DNS, the proxy's local certificate store, and an external test device.

Solution 1Recommended

Verify AD FS DNS, the Proxy Certificate, and External Sign-In

Use this approach when AD FS works internally but external connections fail with a certificate or TLS error.

1
Check the federation name

On an AD FS server, open PowerShell and run Get-AdfsProperties. Identify the federation service name, then use that same FQDN for internal and external AD FS access.

2
Verify public DNS

From an external network, run nslookup followed by the AD FS FQDN. Confirm that the public record resolves to the Web Application Proxy's public IP address or its external load balancer.

3
Inspect the proxy certificate

On the proxy, open certlm.msc and check Personal > Certificates. Confirm that the certificate has a private key, is valid, is trusted by external clients, and covers the AD FS FQDN. For a wildcard certificate, check that the name matches the wildcard's domain level.

4
Check TLS connectivity and logs

From an external Windows device, run Test-NetConnection <AD FS FQDN> -Port 443. On the proxy, open Event Viewer > Applications and Services Logs > Microsoft > Windows > WebApplicationProxy > Admin and review errors for certificate or proxy configuration details.

5
Test federated sign-in

From an external device, open the Microsoft 365 sign-in page and enter an account from a domain configured for federation. Confirm that sign-in redirects to the AD FS service and completes without a TLS warning.

Verify AD FS DNS, the Proxy Certificate, and External Sign-In
A successful port test is not a certificate test: An open port 443 only confirms network connectivity. A browser can still reject the certificate because of a name mismatch, an incomplete chain, or another TLS issue.
Free Microsoft Office alternative

Work on Office Files with WPS Office

WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility for an easier move between office suites. It does not repair AD FS or Web Application Proxy authentication.

Edit documents, spreadsheets, and presentations in a familiar interfaceOpen and save common Microsoft Office formats, including DOCX, XLSX, and PPTXUse a lightweight office suite for everyday file work while an administrator investigates the sign-in issue
microsoft office alternative - wps office

Frequently Asked Questions

Should internal and external AD FS names be the same?

Use the same federation service FQDN internally and externally. Internal DNS can resolve it to the internal AD FS service, while public DNS resolves it to the Web Application Proxy or its external load balancer.

Can a wildcard certificate cause an AD FS TLS warning?

Yes. In certlm.msc on the proxy, check that the wildcard covers the federation FQDN, has a private key, is valid, and chains to a certificate authority trusted by external clients.

Why doesn't Microsoft 365 redirect me to AD FS?

The domain entered on the Microsoft 365 sign-in page must be configured for federation. Check the domain's authentication configuration and test with an account in that domain; a managed domain will not normally redirect to AD FS.

Should I select AD FS or pass-through when publishing an application?

In the Web Application Proxy publishing wizard, choose AD FS when the application is configured for AD FS preauthentication. Choose Pass-through when the application handles authentication itself. This choice is separate from configuring the proxy for AD FS federation endpoints.

Can I disable DirSync after enabling AD FS?

AD FS handles federated authentication, while directory synchronization updates users and attributes. Enabling AD FS does not make synchronization unnecessary. Review your identity-management requirements and plan any synchronization change before disabling it.