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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get link to file in On...
Power Automate
Unanswered

Get link to file in One Drive (for people with existing access)

(0) ShareShare
ReportReport
Posted on by 3

I have a folder in my OneDrive that I have shared with a few other users - this gives them view access to all files inside the folder.

My flow currently creates a file inside the folder, then emails those users to tell them there is a new file in the folder, and what the file is called.

Ideally, I'd also like to provide them with a link to the file.

Unfortunately, when using the "create share link" action, the only scope options are "anonymous" or "organisation"; both of these options generate a link that gives view access to anyone with the link, which is not an acceptable solution as I must maintain strict control over who has access to the documents.
Is there any other way to get the URL for the document to share with people with existing access?

Using the GUI this is as simple as clicking "copy link" which opens the "share" dialog with the option set to "people with existing access".

 

Thanks
Josh

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

     

    Hi @jdavison ,

     

    I am afraid that relying on the existing functions of Power Automate will not be able to achieve this requirement. Unfortunately, the only scopes we can set are Anonymous and Organization.

     

    Best Regards,

  • jdavison Profile Picture
    3 on at

    Thanks for your response @v-bacao-msft. Do you happen to know if this problem would be the same with an item in a SharePoint library? If the permissions are set as desired on the library and we just want to get the link to the item without creating an "anybody with the link" link?

     

    Thanks,

    Josh

  • Verified answer
    v-bacao-msft Profile Picture
    on at

     

    Hi @jdavison ,

     

    Yes, only members of the site can access link to item, or users who have been granted access rights can access link to item.

     

    Best Regards,

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard