AD FS 2.0 service does not start and Event ID 220, 102, 202 errors

Symptom

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.

 

 

Cause

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.

 

 

Resolution

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

https://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

https://technet.microsoft.com/en-us/library/adfs2(v=WS.10).aspx

 

Troubleshooting Federation Service startup and shutdown problems

https://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