web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Plugin Error: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=16.1.0.0

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have created one plugin to get file from Sharepoint. The plugin code is working fine in the Console app but when I register on an event. When the plugin hit I can see below mentioned Error in Plugin Logs:

Message: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=16.1.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified Detail:

I have tried the solution from google but could not fix it.  

Your help would be really appreciated.

Thank you.

I have the same question (0)
  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    You can't reference external DLLs in your plugin.

    For now, I recommend you to use the rest api instead of the SharePoint SDK. You can refer to the following example:

    www.itaintboring.com/.../

    According to wave 1 2021, we will be allowed to use external DLLs on our plugins. This will be realized in a few days.

    docs.microsoft.com/.../dependent-assemblies-plug-ins

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 51 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans