Forum Discussion
nemanja011
Jun 09, 2022MCT
Changing access request settings 'Allow members to invite others to the site members group' with PNP
Hello, I am trying to change the following setting using PNP for number of sites in the farm. I was not able to find a correct PowerShell command.
2 Replies
Sort By
- JakubUrbanCopper Contributor
Hi nemanja011 , I just came across this post. Might help.
Disable-PnPSharingForNonOwnersOfSite -Connection $SCConn #This will also disable Access RequestsSet-PnPRequestAccessEmails -Connection $SCConn -Disabled:$false #Enabling Access Requests with default setting
nemanja011 Check if below references help you somehow:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.