cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jdavison
New Member

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

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

1 ACCEPTED SOLUTION

Accepted Solutions

 

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,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-bacao-msft
Community Support
Community Support

 

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,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

 

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,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (1,813)