Home
> CRM > Specified domain does not exist or cannot be contacted – Error connecting to SharePoint from CRM on premise Plug-in
Specified domain does not exist or cannot be contacted – Error connecting to SharePoint from CRM on premise Plug-in
In one of our Plug-in, we have logic to upload the note’s attachment to SharePoint server.
Everything was working as expected until we got this unexpected exception ‘Specified domain does not exist or cannot be contacted’.
Reason & Fix:
- Reason for this exception while updating Plug-in Assembly, I accidentally set the ‘Isolation mode’ to ‘Sandbox’.
- Since there was no trust established with SharePoint server, plug-in thrown exception when tried to upload file to SharePoint Document Library.
- Changing Isolation Mode to ‘None’ solved our issue.
- Alternative way for Isolation ‘none’ is to establish trust. Refer this article on how establish trust.
🙂
Hi
I am also attaching an Excel File in Notes and then executes a plugin. Since I am working on D365 online; I cannot set Islation Mode to ‘None’ because ‘Sandbox’ is the only available option for D365 (Online). How can I get rid of this issue