
I'm in the process of building out a plugin that will fire when an incident is closed. Plugin then uses fetch to retrieve multiple in order to get all of the child Incidents and close all of them appropriately. After registering the plugin it does fire appropriately but does not create the desired outcome. I'm able to debug it to a point. That point being the moment it tries to perform a retrieve multiple. It throws an error that prevents it from debugging further. Has anyone faced this issue and know of a work around?
Hi,
Looks like this error occurred when you are trying to step into a web service where communication with the CRM web service endpoint failed.
You are using VS 2019, please check if you have configured Developer Toolkit for VS2019 with Core Assemblies(9.0) ::
https://community.dynamics.com/365/b/crmfortressdynamics365/posts/setting-up-developer-toolkit-for-vs2019-with-core-assemblies-9-0
You may also try to evaluate other options like tracing service to see if we can understand why it cannot perform the logic.
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/debug-plug-in
The one we see seems to have an issue with the remote connectivity with CRM online web service endpoint, it is unlikely that name resolution of CrmOrg.api.crm.dynamics.com would be failing on the local machine but it would be worth checking using a PING command to see if we get the correct IP address returned.
Else, this one looks quite close to what we see ::
https://docs.microsoft.com/en-us/visualstudio/debugger/error-unable-to-automatically-step-into-the-server?view=vs-2019
Please mark my comments as answered if it helps.
Thanks,
Saurabh