Thanks for your responses! To make life simple, I put everything on the internal network so all firewalls and NAT are eliminated. When I attempt to open the federation external URL https;//auth.domain.com/FederationMetadata/2007-06/FederationMetadata.xml I get a 404 not found error. I suspect that is the major issue. The internal https://internalcrm.domain.com/FederationMetadata/2007-06/FederationMetadata.xml is successful. I notice this event in the WAP server:
The Federation Service Proxy blocked an illegitimate request made by a client, as there was no matching endpoint registered at the proxy. This could point to a DNS misconfiguration, a partially configured application published through the proxy, or a malicious request.
Url Path: https://auth.domain.com:443/FederationMetadata/2007-06/FederationMetadata.xml.
ADFS Debug tracing shows this event:
Blocking the request for 'auth.domain.com:443/.../FederationMetadata.xml', Allowed Host Names: EnterpriseRegistration.domain.com,EnterpriseRegistration.int.domain.com,sts.domain.com
The name auth.domain.com:443 is published in WAP and appears to be registered on the proxy as indicated by the command: netsh http show ssl
Here is the DNS info and IP addresses:
1) WAP server address: 172.18.8.87/21
2) Internal CRM server IP Address: 172.18.8.90/21 DNS A record for internalcrm.domain.com set to 172.18.8.90.
3) ADFS server internal address: 172.18.8.88/21. The internal DNS name is sts.int.domain.com. Mapped to sts.domain.com/172.18.8.88 in the WAP server hosts file. The name of the ADFS farm is sts.domain.com.
4) DNS A record for ADFS: sts.domain.com/172.18.8.87
5) DNS A record for CRM auth: auth.domain.com/172.18.8.87
6) DNS A record for CRM dev: dev.domain.com/172.18.8.87
7) DNS A record for CRM org: org.domain.com/172.18.8.87
8) I'm using a wildcard cert with the 2 SANs: *.domain.com, domain.com
Here is the application information in the proxy:
PS C:\windows\system32> Get-WebApplicationProxyApplication | fl name,*id*,*url*
name : auth.domain.com
ADFSRelyingPartyID :
BackendServerCertificateValidation : None
ID : 9b265660-73b9-63b0-eb0b-bbe2ebdb1ed9
BackendServerUrl : https://auth.domain.com/
DisableTranslateUrlInRequestHeaders : False
DisableTranslateUrlInResponseHeaders : True
ExternalUrl : https://auth.domain.com/
name : dev.domain.com
ADFSRelyingPartyID :
BackendServerCertificateValidation : None
ID : 4384c29d-e413-1203-43fa-f9ced6b1f299
BackendServerUrl : https://dev.domain.com/
DisableTranslateUrlInRequestHeaders : False
DisableTranslateUrlInResponseHeaders : True
ExternalUrl : https://dev.domain.com/
name : org.domain.com
ADFSRelyingPartyID :
BackendServerCertificateValidation : None
ID : f1f5531a-41ba-b143-6041-4fec8370e699
BackendServerUrl : https://org.domain.com/
DisableTranslateUrlInRequestHeaders : False
DisableTranslateUrlInResponseHeaders : True
ExternalUrl : https://org.domain.com/