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?
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"?
@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.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
30 | |
29 | |
28 | |
20 | |
11 |