Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Since SharePoint 2016 sites are claim based sites so I want a Powershell script which grant user permission to site or in group in SharePoint 2016 sites
You can use PNP PowerShell to add users to a particular SharePoint Group
Add-PnPUserToGroup -LoginName firstname.lastname@example.org -Identity 'Team Site Members'
More information about Add-PnPUserToGroup here and how to set group permission here
Required, but never shown
1 year, 10 months ago
10 months ago