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

Announcements

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard