Use the Organization Service to read and write data or metadata

In Dynamics 365 for Customer Engagement, the primary web service that accesses data and metadata for your organization is IOrganizationService. This web service contains the methods that you use to write code that uses all the data and metadata in Dynamics 365 for Customer Engagement.

To use the IOrganizationService web service, add a reference to the Microsoft.Xrm.Sdk.dll assembly to your Visual Studio project. To access the non-core xRM messages, add a reference to the Microsoft.Crm.Sdk.Proxy.dll assembly to your project also. Alternatively, add the service reference to your project. More information: Developer resources page

In This Section

Use Execute Multiple to Improve Performance

Use the Dataverse Organization Service
Use connection strings in XRM tooling to connect to Dynamics 365 Customer Engagement (on-premises)
Quick Start: Organization service sample (C#)