Quantcast
Channel: Claims based access platform (CBA), code-named Geneva forum
Viewing all articles
Browse latest Browse all 2535

Authenticate users with Microsoft Dynamics CRM 2011 (IFD) through code (C#).

$
0
0

I have internet facing Dynamics CRM 2011 deployment on Rollup 17 hosted in Azure.

The deployment of CRM and ADFS was configured according to the guide provided on Microsoft website (http://www.microsoft.com/en-us/download/details.aspx?id=41701).

When accessing the application the authentication through ADFS works fine and I can access it successfully.

I'm also trying to build a custom web application that will connect to the CRM. I've downloaded CRM 2011 SDK and tried to run the sample code found in \SDK\SampleCode\CS\QuickStart. However, the authentication fails with the following error:

The request channel timed out while waiting for a reply after 00:00:59.9969195. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.

When going to inner exception details I can see:

The HTTP request to 'http://sts1.mydomain.com.au/adfs/services/trust/13/username' has exceeded the allotted timeout of 00:01:00. The time allotted to this operation may have been a portion of a longer timeout.

I'm trying to figure out why is it trying to access the username endpoint through HTTP. When I open port 80 on my ADFS server it woks fine and I can authenticate. However, I don't want to have port 80 open and I want all the communication to go through HTTPS!!

Any help will be greatly appreciated.


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>