Symptom
You fail to start Active Directory Federation Services (AD FS) 2.0 and receive the following errors:
Event ID 220The Federation Service configuration could not be loaded correctly from the AD FS configuration database.
Event ID 102There was an error in enabling endpoints of the Federation Service.
Event ID 202The Federation Service could not be opened.
Cause
AD FS 2.0 uses two net.tcp ports for functions of the Federation Service:
The issue occurs because the ports that AD FS 2.0 needs are already used by other services or applications and a conflict occurs.
Resolution
To fix the issue, use one of the following methods:
More Information
AD FS 2.0: How to Change the net.tcp Ports for Services and Administration
http://social.technet.microsoft.com/wiki/contents/articles/2009.ad-fs-2-0-how-to-change-the-net-tcp-ports-for-services-and-administration.aspx
Active Directory Federation Services (AD FS) 2.0
http://technet.microsoft.com/en-us/library/adfs2(v=WS.10).aspx
Troubleshooting Federation Service startup and shutdown problems
http://technet.microsoft.com/en-us/library/adfs2-troubleshooting-federation-service-startup-and-shutdown-problems(v=WS.10).aspx
Applies To
Office 365 Exchange Online deployment