Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Portal SharePoint Integration User direct document sharing link.

Hi experts,


Lately, I was trying to research the way SharepointLink for Portal users is generated and failed badly.


Maybe some of you have faced a similar issue and will be able to help me out with this one.


What I would like to do is to generate a direct link do to document for the portal user and for example paste this link in the email sent to the customer. When I copy a link from portal the URL looks something like this <portal-base-url>/_entity/sharepointdocumentlocation/<some guid>/<another guid>?file=<file name>. 


What troubles me is to find where those GUIDs come from. My obvious guess that it's the ID of document location from sharepointdocumentlocation entity, but wasn't able to find any matches this way. I'm getting clueless so any help. 


I attach the screen below to give you a reference to what I'm talking about


Frequent Visitor

The first ID comes from document location & the second one is the ID of the portal website record.

Helpful resources

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

MPP IDEAS updated 768x460.png


Discover ideas and concepts from users like you for how to use Power Pages and take your work to the next level.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Top Solution Authors
Users online (3,645)