Access request setting in SharePoint Online helps you manage how users interact with restricted site content. You can decide whether users can request permission to use sites or if access should be limited strictly to users who have been granted direct permissions.
These settings are applied at the site level, which allows you to configure access requests separately for each site based on its sensitivity or intended purpose.
Note: Only users with site owner, site collection admin, or full control permissions can manage access request settings in a SharePoint Online site.
- Log in to the Sharepoint Online admin center.
- Navigate to Sites » Active sites.
- Select the site where you want to manage access request settings.
- On the site, click the Settings(⚙️) and choose Site permissions.
- Under Site Sharing, click Change how members can share.
- Toggle the Allow access requests switch to either enable or disable site requests.
- Click Save to apply the changes.
Note: By default, when access requests are enabled, emails are sent to site owners. If you want to forward access request emails to other users, choose Specify email option and enter the desired recipient’s email address.
Manually updating access request settings for each SharePoint Online site can be time-consuming. PowerShell simplifies the task by allowing you to make changes quickly across multiple sites.
Enable access request settings using PowerShell
- Run the following cmdlet to connect to the SharePoint Online site using PowerShell.
Connect-PnPOnline -Url "<SharePointSiteAddress>" -ClientId "<AppClientId>" -Interactive
Replace <SharePointSiteAddress> with the SharePoint site URL and <AppClientId> with the Client ID of the Microsoft Entra application.
- Run the following cmdlet to enable access request settings on a SharePoint Online site.
Set-PnPRequestAccessEmails
This command configures the site to allow access requests, with site owners automatically set as the recipients.
- If you want access requests to be sent to users other than the site owners, use the -Emails parameter as follows.
Set-PnPRequestAccessEmails -Emails "<EmailId>"
Replace <EmailID> with the email address of the user or group who should receive access request notifications for the SharePoint site. This directs notifications to the specified recipients instead of the default site owners.
Disable access request settings in SharePoint Online using PowerShell
Connect to the SharePoint Online site and run the cmdlet below to disable access requests for the site.
Set-PnPRequestAccessEmails -Disabled
Easily Manage SharePoint Online Access Request Settings Across All Sites with AdminDroid!
- The update access request settings action allows you to configure access request settings for all SharePoint Online sites from a single, user-friendly interface. Using this action, you can manage access requests for sites where you don’t have ownership or full control permissions.
- With the bulk update feature, you can apply changes across multiple sites in just a few clicks. Simply select the sites, choose the desired option, and click Update, and let AdminDroid handle the rest.