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

please help.


You can use PNP PowerShell to add users to a particular SharePoint Group

Add-PnPUserToGroup -LoginName finance@yourdomain.co.uk -Identity 'Team Site Members'

More information about Add-PnPUserToGroup here and how to set group permission here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.