CRM 2016 (v9.1) on-prem
When browsing the CRM federation metadata URL from the AFDS server, I get this:
"An error has occurred.
Try this action again. If the problem continues, check the Microsoft Dynamics 365 Community for solutions or contact your organization's Microsoft Dynamics 365 Administrator. Finally, you can contact Microsoft Support."
The security certificate shows as valid. There's a padlock icon in the browser window.
When configuring the Relying Party Trust on the ADFS server and adding the Federation Metadata URL and clicking the Test button, i get this:
"An error occured during an attempt to read the federation metadata. Verify that the specified URL or host name is a valid federation metadata endpoint.
Verify you proxy server setting."
All roles are installed on a single CRM server. No proxy.
How can I determine where the problem lies?