Since the AD FS 2.0 release candidate (RC), the AD FS product team got feedback that the experience of setting up AD FS proxy server and making it work with AD FS Federation Service is cumbersome, as it involves multiple steps across both AD FS proxy and AD FS Federation Service machines.
In AD FS 2.0 RC, after IT admin installs AD FS 2 proxy server on proxy machine, she runs proxy configuration wizard (PCW) and needs to:
Such above steps are needed to set up a level of trust between AD FS proxy server and AD FS Federation Service. The AD FS proxy server might live in DMZ and provides one layer of insulation from outside attack.
AD FS administrator need to keep track of the proxy identity certificate life time and proactively renew it to make sure it does not expire and disrupt its service.
There are several pain points around AD FS proxy setup and maintaining experience for AD FS 2 RC version:
In RTW, above issues are addressed by:
Several management aspects are involved in the new trust mechanism. Events are added to proxy server for:
Events are added to Federation Service server for:
Generic authorization event will be logged when:
Proxy trust token issuance is audited just as any other issued token when AD FS audit is turned on. There are several knobs to turn to configure various proxy trust parameters:
The following picture shows AD FS admin running PCW and setting up trust from proxy server to Federation Service.
The following screen shows that trust is established from proxy server to AD FS Federation Service.
From event log on proxy machine, you can see proxy server has successfully established trust with AD FS Federation Service.
On the Federation Service machine, you will see following related events.
(Note: There are two 395 events created corresponding to provisioning of one proxy machine. It is a side effect of PCW validating user name and password and establishing trust at the end of the wizard.)
Proxy server automatically renews trust with AD FS Federation Service. When that happens, you will see following event in event log on proxy machine.
When a proxy server is compromised, the administrator of the AD FS Federation Service needs to revoke trust for all proxy machines. The following picture shows how AD FS admin could do it from UI. After proxy trusts are revoked, all proxy machines need to provision again to gain access to AD FS Federation Service.
Several PowerShell cmdlets have been updated to provide PowerShell management of this new functionality:
On the proxy machine:
Get-ADFSProperties, Set-ADFSProperties: (ProxyTrustRenewPeriod) get or set how often proxy server renew proxy trust with AD FS Federation Service
On the Federation Service machine:
Get-ADFSProperties, Set-ADFSProperties: (AddProxyAuthorizationRules, ProxyTrustTokenLifeTime): as property names suggest. Revoke-ADFSProxyTrust: revoke issued proxy trust. Proxy machines need to provision again to gain access to AD FS Federation Service.
Get-ADFSProperties, Set-ADFSProperties: (AddProxyAuthorizationRules, ProxyTrustTokenLifeTime): as property names suggest.
Revoke-ADFSProxyTrust: revoke issued proxy trust. Proxy machines need to provision again to gain access to AD FS Federation Service.