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 CRM (Archived)

Integrate Microsoft Dynamics CRM Online and SharePoint SharePoint Online

(0) ShareShare
ReportReport
Posted on by

Hi,

I am doing Microsoft Dynamics CRM and SharePoint Integration to create folder in SharePoint on create on create of a record in CRM. The functionality works fine for both Microsoft Dynamics CRM 2013 on-premise and SharePoint Server 2013 on-premise. But, the functionality is not supported by Microsoft Dynamics CRM Online. I am using "Microsoft.SharePoint.Client.dll" assembly while developing the functionality, the assembly requires SharePoint Client Components to be installed on the Microsoft Dynamics CRM 2013 server. So, the same plugin when registered for Microsoft Dynamics CRM Online produces the following error-

Unexpected exception from plug-in (Execute): 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.

Any idea how to solve this issue?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Vassil Profile Picture
    on at

    We have had the same issue. With Online you don't have access to the GAC, so you cannot install the SharePoint Client library. Our solution was to create an external Azure service which listens to the Azure service bus and on create of a newly created entity instance. we can create also a SharePoint folder. CRM can automatically send messages to the Azure service bus (requires a quick configuration).

  • Prati Profile Picture
    980 on at

    Hello Purva ,

    The SharePoint integration is slightly different in Crm Online . Please refer the link below for steps to Configure sharepoint online with CRM 2013 .

    1. msdn.microsoft.com/.../gg334768.aspx

    2. technet.microsoft.com/.../dn531154.aspx

    3.  www.powerobjects.com/.../crm-2013-and-sharepoint-integration-new-feature

    Thanks and regards .

    Prashant T

  • Community Member Profile Picture
    on at

    Thanks Vassil. Will you please share the links of blog(s) or document(s) or something regarding this?

  • Community Member Profile Picture
    on at

    Thanks Prashant. I don't want to use the out-of-box integration provided by CRM. I have already developed a custom plugin code to integrate Microsoft Dynamics CRM 2013 On-premise and SharePoint server 2013 on-premise using SharePoint Client Components. But this solution does not work for online instances and hence need to find the alternative solution.

  • Suggested answer
    Vassil Profile Picture
    on at

    Hi Purva,

    Here are two valuable resources:

    msdn.microsoft.com/.../jj863635.aspx

    msdn.microsoft.com/.../gg328524.aspx

    The first one you can use to create the correct service bus instance (this should really be done using PowerShell!). The second one describes how to set up the message transfer using the Plugin Registration Tool.

    You need of course also some custom coding: use the Azure Queue template project in the Azure templates lib in VS, then some CSOM code for SharePoint and some calls to Dynamics to add the document locations. I have used multiple resources for those and there are many examples online.

  • Community Member Profile Picture
    on at

    Thanks. Is this the only possible way for the integration using Azure? Or is there any alternative to the SharePoint Client Components (i.e. "Microsoft.SharePoint.Client.dll" assembly)?

  • Vassil Profile Picture
    on at

    Well, that's what I have successfully used. You can't install the SharePoint dll on the Online farm of Microsoft, so you aren't left with a lot of options.

  • Community Member Profile Picture
    on at

    Thank you Vassil

  • ZeroHar Profile Picture
    383 on at

    Hi, i have the same requirement .could you please help me how you did this. Thank You.

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans