This documentation is archived and is not being maintained.

Microsoft Dynamics CRM Online Authentication

banner art

[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.

Client-to-Server Authentication

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.

Server-to-Server Authentication

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.

Server-to-Server Authentication with Impersonation

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.

See Also

Other Resources

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.