Hi
I have a console application that connects to Dynamics 365. It works from Development environment but when we deploy at Staging it throws error "Unable to Login to Dynamics CRMOrganizationServiceProxy is null".
The credentials and CRM organisation is same. We are using Xrm.Tooling connector for this.
string connectionString = ConfigurationManager.ConnectionStrings["CRM"].ConnectionString;
CrmServiceClient crmConn = new CrmServiceClient(connectionString);
Console.WriteLine("Connected Org Name:{0}", crmConn.ConnectedOrgFriendlyName);
Any thoughts?
*This post is locked for comments
I have the same question (0)