Forum Discussion
Oct 05, 2016
Changing the "Allow members to share" SharePoint site Access Requests setting using Office Dev PnP
How can I set the "Allow members to share the site and individual files and folders" setting using the Office Dev PnP Provisioning Engine or PowerShell commands? I haven't found this specific setting...
Mani Mehrabi
Jul 03, 2018Copper Contributor
For SharePoint online you can try this:
Connect-PnPOnline -url https://contoso.sharepoint.com/sites/test
Set-PnPRequestAccessEmails -Emails " "
- Damien FloodJul 03, 2018Iron Contributor
Mani Mehrabi Thanks! I have tried the suggested but it does not work. In the Access Request Settings it seems MS has also added a new radio button for choosing either email or the Site owners.