IFD/Claims CRM2011 - Configuration: Not able to pull federationmetadata.xml - 404 error

During configuration of Claims based configuration in CRM2011 the federationmetadata.xml is not accessible.

Testing the connection, it gives the following error:

"HTTP Error 404.0 - Not Found The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." the file (and folder) are not created/available in: "C:\Program Files\Microsoft Dynamics CRM\CRMWeb\FederationMetadata\2007-06\FederationMetadata.xml"

This is because the IIS extension “URL REWRITE” is missing.

You could prevent this, by:

  1. Going to https://www.iis.net/download/URLRewrite
  2. Download the URL REWRITE Extension and install it
  3. Do an IISRESET and reopen the IIS Manger
  4. Try try to pull /FederationMetadata/2007-06/FederationMetadata.xml">/FederationMetadata/2007-06/FederationMetadata.xml">https://crmserver:<crmport>/FederationMetadata/2007-06/FederationMetadata.xml again
  5. Now the correct FederationMetadata.xml is shown.

Note: IIS URL Rewrite Extension enables Web administrators to create powerful rules to implement URLs that are easier for users to remember and easier for search engines to find.