Answered by:
How does CRM authentication Works ?

Question
-
Hi All,
We are using Microsoft CRM 4.0 Application and we are facing problem with how does CRM authentication works?
The CRM Server and the Database server exist on the different machine but we are able to load the CRM Page. But when I host an external Application into the same server it is not possible to authenticate the user. The CRM is not able to authenticate the user credentials.
Thanks,
jafarsadik.Tuesday, July 21, 2009 11:26 AM
Answers
-
Hi jafarsadik,
CRM leverage AD for its authentication. If you would like to host an external application into the same server, you will need to create a new web site for your application. If you would like to have your external application connect to CRM, I would recommend that you download the SDK and look into the many different ways of connect to CRM.
However you need to watchout for the CRM licenses. In some situation, you need to get the CRM external connector license to expose your data out side of CRM. I hope this helps.
Darren Liu | 刘嘉鸿 | MS CRM MVP | English Blog: http://msdynamicscrm-e.blogspot.com | Chinese Blog: http://liudarren.spaces.live.com- Proposed as answer by darrenliuMicrosoft employee, Moderator Tuesday, July 21, 2009 2:24 PM
- Marked as answer by Jim Glass Jr Tuesday, July 21, 2009 9:07 PM
Tuesday, July 21, 2009 2:24 PMModerator
All replies
-
If you can post a code snippet of where you are creating an instance of the web service and passing the auth, that would be helpful. In the meantime, I highly recommend downloading the CRM 4 SDK and looking at the samples provided. They are very helpful for showing how to instantiate the service, create the token, etc. You can download it here: http://www.microsoft.com/downloads/details.aspx?FamilyID=82E632A7-FAF9-41E0-8EC1-A2662AAE9DFB&displaylang=en
Ascentium | www.ascentium.com | www.rosslotharius.com | twitter: @rosslothariusTuesday, July 21, 2009 1:22 PMModerator -
Hi jafarsadik,
CRM leverage AD for its authentication. If you would like to host an external application into the same server, you will need to create a new web site for your application. If you would like to have your external application connect to CRM, I would recommend that you download the SDK and look into the many different ways of connect to CRM.
However you need to watchout for the CRM licenses. In some situation, you need to get the CRM external connector license to expose your data out side of CRM. I hope this helps.
Darren Liu | 刘嘉鸿 | MS CRM MVP | English Blog: http://msdynamicscrm-e.blogspot.com | Chinese Blog: http://liudarren.spaces.live.com- Proposed as answer by darrenliuMicrosoft employee, Moderator Tuesday, July 21, 2009 2:24 PM
- Marked as answer by Jim Glass Jr Tuesday, July 21, 2009 9:07 PM
Tuesday, July 21, 2009 2:24 PMModerator -
Thanks for your reply. Actually we created a new web site but still it was impacting the existing CRM page.
Can you please explain, If the user credentials are not part of Database but still we are able to talk to database and get the response.So,we need to know exactly how the authentication works?
Regards,
JafarWednesday, July 22, 2009 12:24 PM