Hi all,
I'm just trying to understand this behaviour... I'm getting a crm service connection to Dynamics 365. This works 90% of the time. But every now and then it returns null.
var client = new CrmServiceClient("Url=" + CRMURL + "; Username=" + CRMUser + "; Password=" + CRMPassword + ";AuthType=Office365");
I noticed it attempts connection, takes a long time at that line, then just continues on without error, but when I look at
client.OrganizationServiceProxy
it's null.
The code ofcourse needs to catch this and retry or decide at some point that it's truly down.
Anyone else seen this and can it be explained? Is there a way to identify more detail about the underlying cause?
Thanks