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

How to find the Parent site or location ID for the document location for Dynamic 365 and SharePoint integration.

(0) ShareShare
ReportReport
Posted on by

Our client wants the SharePoint folder be automatically created when the Account is add in CRM 365 without Clicking "File" in Dynamic CRM tool bar.   By using Flow, I am able to do it. I added document location record for this new account, so it can be associated with SharePoint location. 

The client need auto create folder for opportunity. The issue is I cannot get this the Parent Site or Location ID for the new opportunity related to the Account. The location for Opportunity will be Account/[Account Name]/Opportunity/[OpportunityName],  For Account the  Parent location ID is static, so I can find it. but Opportunity Location is dynamic. 

d365_2D00_1.png

How can I find the parent location ID for new opportunity which is for Account/[Account Name]/Opportunity/[OpportunityName], so I can create a record for it. 

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

    Any suggestion? Thanks

  • Suggested answer
    JayBuddhdevtest Profile Picture
    275 on at

    Hi,

    You will have to use List record step in between and get the Parent location ID from the above step. I have done similar approach to transfer document location from one URL to another. The only difference between my requirement and your requirement would be the change in Absolute and relative URL.

    Here is a screenshot of the List records step from my flow. This will be same in your case as well:

    pastedimage1594227820019v1.png

    Now the next step is to create the new document location. Keep your relative url as you need it, but you can use your parent location from the above step. Here is a screenshot of my flow:

    pastedimage1594227899448v2.png

    I hope this helps. Please let me know if you have any questions/concerns.

    Thanks

    Jay

  • Community Member Profile Picture
    on at

    Thanks, Jay

  • JayBuddhdevtest Profile Picture
    275 on at

    Hi,

    If my answer helped you solve your problem, please mark it as verified for the other community users to understand the solution of this problem.

    Thanks

    Jay

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
ManoVerse Profile Picture

ManoVerse 75 Super User 2026 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#3
11manish Profile Picture

11manish 52

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans