Open sbgillett opened 5 years ago
Is there a way to disable access request for all the SharePoint sites for SharePoint Online
Is there a way to disable access request for all the SharePoint sites for SharePoint Online
That is the crux of my question 😉
Category
[x] Bug [ ] Enhancement
Environment
[x] Office 365 / SharePoint Online [ ] SharePoint 2016 [ ] SharePoint 2013
Expected or Desired Behavior
Disable Access requests (UI equivalent below) using SPO Powershell cmdlets.
Observed Behavior
Powershell cmdlets to control access requests don't have the desired affect/can't perform the required action.
Steps to Reproduce
Using
SharePointPnPPowerShellOnline
PS module version 3.3.1811.0:Set-PnPRequestAccessEmails -Emails " "
only disabled access requests when the site is already configured to send access requests to a specific address/addresses (as the above screenshot). When the site is configured to send access requests to Team Site Owners, the above command has no effect (other than removing the value in the email address field). I need to disable access requests across all sites (and subsites) in our tenant. O365 Support was unable to suggest a workaround.