Hi Naveen, Install the following 2 packages: Install-Package Microsoft.CrmSdk.CoreAssemblies -Version 9.0.0.5 Install-Package Microsoft.CrmSdk.XrmTooling.CoreAssembly -Version 9.0.0.5 Once you have them installed, the following lines of code should be enough for you to connect to CRM. (Online or OnPrem) CrmServiceClient devCrmConn = new CrmServiceClient(ConfigurationManager.ConnectionStrings["DevCRM"].ConnectionString); IOrganizationService _orgService = devCrmConn.OrganizationServiceProxy; I am reading from the app.config, where I have defined my Connection String as:
↧