Hello,
I'm trying to connect to the webservices of MS Dynamics CRM 2011 (configured with claims-based authentication) by using the examples from the SDK. I got CRM AND ADFS running on two different servers and it seems to work as expected. I can login from to my internal domain (internalcrm.contoso.com) within the Active Directory and also from outside via the organisation domain (org1.contoso.com).
But when I try to login with the SDK example projects I always get an error after entering my user credentials:
"The authentication endpoint Username was not found on the configured Secure Token Service!"
The error shows up very quickly (unusual for webservices ;-)) after entering the credentials. So I was curious an looked into the log IIS files:
2013-01-23 13:40:46 81.xx.xx.xx POST /adfs/ls/mex - 443 - 87.xx.xx.xx - - 404 0 2 93
2013-01-23 13:40:46 81.xx.xx.xx GET /adfs/ls/mex - 443 - 87.xx.xx.xx - - 404 0 2 78
2013-01-23 13:40:46 81.xx.xx.xx GET /adfs/ls/mex - 443 - 87.xx.xx.xx - - 404 0 2 59
As I understand it, my client (87.xx.xx.xx is my client's local IP) tries to communicate with my adfs server on path /adfs/ls/mex but gets a 404 error.
Does anybody know what to do?
Thank you very much!
Andreas