Many of our clients have Microsoft Dynamics CRM on premises and Internet Facing Deployment (IFD) / Active Directory Federated Services (ADFS). We often see a minor missing step with the setup of ADFS, which could lead to an error. For instance, you may find that the web interface works fine, but applications that use the web services to authenticate return this error:
“There was no endpoint listening at http://xxxxxx/adfs/services/trust/13/username that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.”
If you see this, one potential cause could be an incorrect federation service identifier URL.To verify that this is the cause, please check the following:
- In ADFS administration, go to the Server Properties and verify the server URL is set to https and also displaying the full ADFS URL. If your ADFS server runs on a non-standard port, be sure to also specify the port. It would look something like this: https://login.mycompany.com/
- Now perform an iisreset and restart ADFS services on the ADFS box.
- Re-run the claims configuration wizard in CRM.
- Do an iisreset in CRM.
- Re-run the IFD configuration wizard in CRM.
- Do another iisreset in CRM.
If these steps don’t correct the error, make sure that your port number is listed after the domain in the ADFS setup as well.
Hopefully following these steps will resolve your issue. If not, the friendly experts at PowerObjects would be happy to help troubleshoot any further issues!