You fail to start Active Directory Federation Services (AD FS) 2.0 and receive the following errors:


Event ID 220
The Federation Service configuration could not be loaded correctly from the AD FS configuration database.


Event ID 102
There was an error in enabling endpoints of the Federation Service.


Event ID 202
The Federation Service could not be opened.




AD FS 2.0 uses two net.tcp ports for functions of the Federation Service:

  •  Services net.tcp port - 1501
  •  Administration net.tcp port - 1500


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:

  •  Change the net.tcp port for conflict application or service
  •  Change the net.tcp port for AD FS 2.0


More Information

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


Applies To

Office 365 Exchange Online deployment