Hey Everyone,
Try to debug my ssis from yesterday but no success. My SSIS script component keep throwing Metadata contains a reference that cannot be resolved: 'crm.domain/.../Organization.svc;sdkversion=8.2'.
I m using Dynamics 365 on premise version 1612(8.2.0.749)(DB 8.2.0.749). The Dynamics 365 was IFD.
To create SSIS package, I already,
1) Using latest dynamics 365 Sdk version 8.2.1.1
2) Yeah, also install this sdk into my GAC. Then reboot my server.
3) To check wether my organization url is correct, I also paste my OrganizationService url in browser and its return a service.
But still the same.
This is my sample code:
static void Main(string[] args) { IOrganizationService organizationservice; // Get the CRM connection string and connect to the CRM Organization ClientCredentials Credentials = new ClientCredentials(); Credentials.UserName.UserName = "username"; Credentials.UserName.Password = "password"; Credentials.Windows.ClientCredential = System.Net.CredentialCache.DefaultNetworkCredentials; organizationservice = new OrganizationServiceProxy( new Uri("crm.domain/.../Organization.svc"), null, Credentials, null); }
I tried my ssis using trial version of Dynamics 365 online and its working fine. I have no Idea and kinda lost.
*This post is locked for comments