Microsoft Dynamics CRM Online Authentication
[Applies to: Microsoft Dynamics CRM 4.0]
Find the latest SDK documentation: CRM 2015 SDK
There are several methods of authenticating with Microsoft Dynamics CRM Online. Each depends on the type of application that is trying to authenticate.
A client application (console application, or a Windows Forms application) authenticates with Microsoft Dynamics CRM Online by using a Client-to-Server scenario where Microsoft Dynamics CRM Online is the server.
The Server-to-Server authentication scenario is used when a non-Microsoft Dynamics CRM Web service, Windows service, or ASPX page has to authenticate and access the Microsoft Dynamics CRM Online Web services. This type of authentication scenario is typically performed in the background and requires no user interaction.
The Server-to-Server with Impersonation scenario requires user interaction where the user fills out Microsoft Dynamics CRM Online logon information in a form. In that scenario, all Microsoft Dynamics CRM Online Web service calls are performed on the user's behalf by using impersonation.
- Web Service Authentication and Impersonation
- Server-to-Server Authentication with Impersonation Full Sample
See the SDK download package: SDK\Server\FullSample\ServerToServerImpersonate. This sample shows how to authenticate and impersonate the logged-on user in a server-to-server scenario with Microsoft Dynamics CRM Online.
© 2010 Microsoft Corporation. All rights reserved.