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

Change a SharePoint Site Collection's Property via Power Automate

I am trying to figure out a way to change a SharePoint Site Collection's sharing property as shown in the screenshot.  I want to change it from the default (Only People in your organization) to (People with existing access).  I can do this via Powershell but wanted to know if it is possible via Power Automate?





Super User
Super User

Hi @skarthanal,


As far as I am aware setting it is not possible to set the default link type setting for an individual site collection via the REST API.


Invoking a site design with a site script for external sharing settings would be possible via the REST API and a HTTP action:



Thank you for replying @Expiscornovus.  I followed the links but i am not fully understanding how to achieve what i need. My PS script is below:

Connect-SPOService -Url "web url"

Set-SPOSite -Identity "web url" -DefaultLinkToExistingAccess 1


When i create the JSON body how do i verify that the property is "DefaultLinkToExistingAccess"?

Super User
Super User

@skarthanal , sorry, I wasn't entirely clear in my previous post. I basically said it was not possible (as far as I am aware).


I only showed how you could set the main sharing settings via a flow. But example doesn't allow you to set the value of the defaultlinktoexistingaccess attribute.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (3,273)