Hello CRM Folks,
Setup: Dynamic CRM 2015 Onpremise with 2 Organizations(Org A and Org B) with IFD Access.
Scenario: Whenever a Account or Contact Record is created in Org A, create the same record in Org B.
Could anyone link to me right direction as how to achieve this scenario?
I tried creating a record but i face Trust Issues. I think it is due to the Certificate, but not sure. Its says request failed.
ClientCredentials credentials = new ClientCredentials(); credentials.UserName.UserName = UserName; credentials.UserName.Password = Password; Uri serviceUri = new Uri(SoapOrgServiceUri); OrganizationServiceProxy proxy = new OrganizationServiceProxy(serviceUri, null, credentials, null); proxy.EnableProxyTypes(); service = (IOrganizationService)proxy;
Here is the code i have used, but i dont think its right.
Let me know Guys!
Thank You!