Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Enable Server-Based SharePoint Integration

Posted on by 676

I tried enabling it but whenever I enter the SharePoint site URL which is in the same office 365 tenant and hit next, I get this error:

Unexpected Error

An error has occurred. 

I don't know if I am going wrong anywhere. Any suggestions on this would be highly appreciated.

*This post is locked for comments

  • Mohd Tahir Profile Picture
    Mohd Tahir 676 on at
    RE: Enable Server-Based SharePoint Integration

    This is it. We have to be a global admin to enable this feature. And it worked for me.

  • RE: Enable Server-Based SharePoint Integration

    Hello Tahir,

    Go to Settings > Document Management > SharePoint Document locations.

    Look for the record that is regarding the record in issue.

    Open the record.

    Note the folder name (1) – this is to take the documents backup and delete/ rename in SharePoint.

    Deactivate the record.

    Open the CRM entity record in issue > Documents. The “Unexpected Error” would not be there any more. Depending on your settings, you would either get a prompt to confirm document location, or you would see the option to “Add Location” as below.

    document-associated-grid

    Click Add Location. Update details if required. Note the folder Name (2).

    Click Save.

    add-location

    Go to the SharePoint site (https://<company>.sharepoint.com/sites/<organization>).

    Click on “Site Contents” and go to folder (1).

    Download the documents, then rename this record.

    Now go to folder (2). Drag drop all downloaded documents from previous step here. Give it a few seconds. Refresh Dynamics CRM and check for the documents in CRM

    Few reasons for this issue could be having special characters in the folder location names/very long folder names.

    Note: You need “System Administrator” role both in Dynamics CRM and SharePoint to perform all the steps above.

    I hope this helps,

    Thanks.

  • Verified answer
    Sean K Profile Picture
    Sean K 1,535 on at
    RE: Enable Server-Based SharePoint Integration

    Hi Mohd,

    I had an issue previously setting up Server-based SharePoint Integration with Dynamics CRM as a CRM/SharePoint admin, I ended up setting it up successfully using a Global Admin account.

    Regards,

    Sean

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans