Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Error: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies.

(0) ShareShare
ReportReport
Posted on by 96

Hi all,

I am getting the below Error when i trying to execute the "Custom Workflow".

"An unexpected error occurred from ISV code. (ErrorType = ClientError) Unexpected exception from plug-in (Execute): WBG.AMC.Workspace.Workflows.EDAccess: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified."

Note : I have added SharePoint code to the Custom workflow.

Any suggestion are highly appreciated.

Rregards,

Vishwarath

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Error: Could not load file or assembly 'Microsoft.SharePoint.Client, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies.

    Hi,

    You cannot add external dll in custom plugins/ workflows. You need to use SharePoint REST API to integrate with SharePoint. Refer below sample code-

    code.msdn.microsoft.com/SharePoint-Integration-c5f21604

    Hope this helps.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans