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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

uploading documents to different SharePoint sites based on entity

(0) ShareShare
ReportReport
Posted on by 16

Hi,

I currently have Server-Based SharePoint Integration setup on my company's Dynamics CRM. In Document Management settings, I've enabled the Account and Opportunity Entities so that the documents are stored on a SharePoint site. This currently works fine.

Recently we created a new SharePoint site and want to setup a different entity in Document Management to store its documents there. However when I went to the Document Management section, the SharePoint defined is still the original one. There doesn't appear to be a way to setup the new SharePoint site for this entity. 

I was wondering is there a way to setup which SharePoint site the documents are uploaded to, depending on the entity? Below is the Document Management section:

2021_5F00_sharepointIntegration.JPG

Sincerely,

Jason

I have the same question (0)
  • Suggested answer
    Yoshika Suzuki Profile Picture
    Microsoft Employee on at

    I don't know how to specify it for each entity, but what about "adding a location" for the SharePoint site to the record?

    docs.microsoft.com/.../manage-sharepoint-documents-document-locations-in-dynamics-365-apps

  • Jason Yeung Profile Picture
    16 on at

    Hi,

    I tried adding and editing the location after uploading the document, but it gives me the following error:

    Document library "msdyn_playbookactivity" has been renamed or deleted from SharePoint site

    "https://(site)/sites/BSSISalesDocumentsFolderTest". Rerun the

    document management wizard and try again.

    Sincerely,

    Jason

  • Suggested answer
    Timothy Bohte Profile Picture
    44 on at

    In the setup Dynamics links the SharePoint document locations relatively to the parent.

    You can however create custom SharePoint document locations and corresponding SharePoint folders by Power Automate Flow that is triggered on creation of the record. In this case Dynamics will not try to create a new SharePoint document location for the standard SharePoint site and will settle with the one you created.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 60 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans