Источник:
https://crmtipoftheday.com/1077/conn...ight-instance/
==============
As
Guido “Future Olive Farmer” Preite has discovered, sometimes
CrmServiceClient may connect to the wrong instance. Just like that.
Dynamics 365 instances now can be backed up and restored
at will. The side-effect of this awesomeness is that URLs and unique names may no longer match, leading to the fun times with connections. Here’s the scenario:
If you do experience this behavior, the workaround is to specify organization unique name in the connection string, i.e. use
https://org1234567.crm.dynamics.com as URL parameter.
Thanks to
Clément “French but not Tanguy” Olivier for the workaround and Matt “SDK Deity” Barbour for explaining the scenario.
(Facebook/Twitter cover photo by John Carlisle on Unsplash)
Источник:
https://crmtipoftheday.com/1077/conn...ight-instance/