We are getting attached error while adding a relying party trust to ADFS. This needed to be done as our CRM Test server had to be repaired since it was not taking in new patches. We reinstalled CRM and were trying to reconfigure IFD when we are running into this issue
While on the ADFS server, can you browse to the metadata address?
Does it result in an XML document?
I've seen this error when you have HTTP URL in the metadata. In which case, download the metadata, change to HTTPS and load as a file.
Failing that, can you add the RP manually?