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’.

Domain Does Not Exist

Domain Does Not Exist

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.
Isolation Mode - Sandbox

Isolation Mode – Sandbox

  • Alternative way for Isolation ‘none’ is to establish trust. Refer this article on how establish trust.

🙂

Advertisement
Categories: CRM Tags: , , ,
  1. SR
    September 20, 2019 at 2:10 AM

    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

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: