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.
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.
To fix the issue, use one of the following methods:
AD FS 2.0: How to Change the net.tcp Ports for Services and Administration
Active Directory Federation Services (AD FS) 2.0
Troubleshooting Federation Service startup and shutdown problems
Office 365 Exchange Online deployment