Connecting to Dynamics 365 using the Organization Service Proxy
…= new ClientCredentials(); clientCredentials.UserName.UserName = “your@email.com“; clientCredentials.UserName.Password = “yourpassword”; OrganizationServiceProxy _serviceProxy = new OrganizationServiceProxy(oUri, null, clientCredentials, null); _serviceProxy.EnableProxyTypes(); OrganizationServiceContext orgContext = new OrganizationServiceContext(_serviceProxy); RetrieveVersionRequest versionRequest = new RetrieveVersionRequest(); RetrieveVersionResponse versionResponse…