Hi All,
I am trying to connect to CRM webservice through my .Net web application code but it fails with below error message. The customer's CRM is configured with IFD. This code was working ok previously but suddenly started failing with below authentication issues. ADFS and CRM are installed on separate servers.
Error 1:
http://sts.contoso.co.uk/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.
Error 2:
Server was unable to process request. ---> Could not establish secure channel for SSL/TLS with authority 'sts.contoso.co.uk'.
Can anyone please help me as I have been struggling with this for two days without result and I need to get the customer's applications up and running again.
Things I have tried so far
1) Tried Disabling the username endpoint on the adfs server and then did an IIS reset and restarted the ADFS Service adfs/services/trust/13/username
2) Followed the instructions from below blog. Indeed the server adfs url was set to http so I changed it to https and followed all steps from below blog
http://www.powerobjects.com/2014/04/22/error-adfsifd-url-dynamics-crm/
3) I have followed all steps from below blog to remove port 80 from IIS binding on ADFS server.
*This post is locked for comments