ADFS and WAP issue with error 0x8007520C


A little notes from the field, I recently saw this issue at a customer. Their ADFS Proxy (Active Directory Federation Service) was suddenly not working anymore, It had been running without issues for months.

When started to troubleshoot this, we looking at the Web Application Proxy (WAP) service on the ADFS Proxy server and the error we got was:

The operation stopped due to an unknown general error. Error code 0x8007520C.


We confirmed that the Web Applicaton Proxy service was stopped and the service could not be started. I suspected an issue with the certificate, since the ADFS is highly dependent on certificates working correctly.

To get a list of the certificates installed on the server, use the command via PowerShell:


The public certificate needed for the ADFS and it’s thumbprint is highlighted above with yellow marker. The thumbprint is then used for installing and configuring the Web Application Proxy with the correct certificate, which it done using the following command in PowerShell:


The Web Application Proxy service was then checked and it was now started and running.

The we tested the ADFS to confirm everything was working, you can test ADFS logon using the URL:

Everything now worked.

About Author

Peter is an Exchange specialist with over 15+ years of experience with Exchange Server and certified Microsoft Certified Master (MCM) and Microsoft Certified Solutions Master (MCSM) on Exchange Server. He has been awarded the Microsoft MVP award, every year since 2007. He is active in the Microsoft community and User Group Leader for CoLabora (a danish UC & Cloud User Group). He works as an Cloud & Infrastructure Architect and Consulent, with primary focus on Exchange, Office 365, Azure and Skype for Business.


Copyright 2005-2015 - Peter Schmidt.