ADFS Setup Troubleshooting

Go through the ‘Add STS Reference’ process.

1. Service Certificate Location

Make sure you remove the defaults that the ASP.NET MVC 3 project put into your web.config on the <certificateReference> element. StoreLocation and StoreName must be removed. Otherwise you get the following error.

Your <serviceCertificate> element (full path is “/microsoft.identityModel/service”) should be changed from this:

   <certificateReference x509FindType="FindByThumbprint" findValue="*****THUMBPRINT*****" storeLocation="LocalMachine" storeName="My" />


…to this:

  <certificateReference x509FindType="FindByThumbprint" findValue="*****THUMBPRINT*****"/>

2. Validate Request

Make sure that you add an <httpRuntime> element and set the request validation mode with a value of “2.0”.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s