This sample shows how to authenticate a user with any Microsoft Dynamics 365 deployment and obtain a reference to the web services. This sample includes support for Microsoft Office 365 users provisioned in Microsoft Dynamics 365 (online).

Demonstrates

This sample demonstrates how to authenticate a user with any Microsoft Dynamics 365 (online & on-premises) deployment and make web service calls. This sample doesn’t rely on the CrmServiceHelpers.cs helper code. For a sample that does use helper code, see Sample: Quick start for Microsoft Dynamics 365.