Skip to main content

Notifications

Announcements

No record found.

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 6

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

  • Suggested answer
    Timothy Bohte Profile Picture
    44 on at
    RE: uploading documents to different SharePoint sites based on entity

    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.

  • Jason Yeung Profile Picture
    6 on at
    RE: uploading documents to different SharePoint sites based on entity

    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
    Yoshika Suzuki Profile Picture
    on at
    RE: uploading documents to different SharePoint sites based on entity

    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

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,202 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans