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 / Changing the scope/aud...
Power Automate
Unanswered

Changing the scope/audience of a sharing link in SharePoint

(0) ShareShare
ReportReport
Posted on by 1,393

We have a library of documents and a flow that uses "Create a sharing link" to generate a link scoped to the organization or anonymous, based on the value of a choice column in the library (visibility, choices: internal, public). At certain times, a document's visibility may change, sometimes temporarily. When this happens, the flow "stops sharing" the file, then generates a new link with the appropriate scope. The issue is that these links may be posted on web or SharePoint sites, so when the link changes, the old one breaks/disappears. 

 

Ideally, I'd like a way to change the existing link's scope from "organization" to "anonymous". However, even manually editing the link in the gui doesn't give this option, so I'm reasonably certain there's no way around that. Then again, I know that the REST API and corresponding "Send HTTP request to SharePoint" action opens up a great deal of options and flexibility. So, anyone experienced with the REST API...is this possible? If so, and you could point me to the documentation on the appropriate API call, I would really appreciate it.

Categories:
I have the same question (0)

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard