Use CrmServiceClient constructors to connect to Common Data Service

Use the various constructors to create an instance of the CrmServiceClient class to connect to Common Data Service. More information: CrmServiceClient Constructors

The connection string constructor is the most easy, convenient way to get an instance of the CrmServiceClient class. More information: Use connection strings in XRM tooling to connect to Common Data Service

See also

Use XRM Tooling Windows PowerShell Cmdlets to connect to Common Data Service