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)

SharePoint Integration with Dynamics 365 CRM

(0) ShareShare
ReportReport
Posted on by 185

Hi,

Currently I have my Dynamics 365 CRM (Version 9.0) integrated with Online Share point (through Server based Share point integration). I want to disable the default mechanism of folder creation in Share point, as I will be setting up my own custom folder creation through back end logic (code/flows). Any suggestions ?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Here is article you should check - baddaz.com/create-your-own-document-locations-in-dynamics-365-using-flow-9649ecaf3672

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    You can just configure the Server to server SharePoint integration in CRM online, Enable the Entities but don’t create the folder structure based on entity.

    Then you can use SharePoint REST API in Plugin/workflow activity on CRM record create (account/contact/incident) to create library or folder based on your need with whatever name, then Create the Document location record in CRM with proper site, Regarding & relative url. This will work like a charm.

  • Dynamics 365 CRM Profile Picture
    185 on at

    Hi,

    Thanks for the response. This may create folders in sharepoint as we need, but it still doesn't stop creating the default folder apart from the custom folder. For example, I am creating a sharepoint folder (I am creating using Flows instead of Plugin/Workflow) on creation of XYZ entity. If I click on "Documents' area (top navigation) as soon as (immediately) I create/save the record , then I can see two sharepoint paths in the documents view (i.e. one for the default and another for custom folder) . Let's suppose if I wait for one minute post creation/save of the record and then click on "Documents" area , then I can see only one sharepoint path i.e for custom folder.  

    So , overall to summarize,  the solution which you suggested above works perfectly well only when we wait for a minute (post creation/save of XYZ entity) before clicking on "Documents" area of record. That means, if you click on "Documents" area before the completion of our custom logic (plugin/workflow/Flow), then it will result in both the folders. But if you click on "Documents" after the creation of the custom folder  (i.e. after the completion of plugin/workflow/Flow logic which would take maximum one minute), then the default folder doesn't get generated.

    Observation : System folder (default) folder gets created only after clicking on the "Documents" area of record

  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    I have also faced this issue and we ended up revoking the create permission for document location entity within the security role. So now when users click on documents, they get CRM tries to create the document location and failed with permissions error. Once our process runs and creates the folder location, users are able to access the document location.

    Hope this helps.

  • Dynamics 365 CRM Profile Picture
    185 on at

    That's a good idea Ravi.. It didn't strike to me... I will try it.. Thank you so much !!

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