Usage
spo group user add
Description
Add a user to SharePoint Group
Options
| Option |
Description |
-u, --webUrl <webUrl> |
URL of the site where the SharePoint group is available |
--groupId <groupId> |
Id of the SharePoint Group to which user needs to be added |
--userName <userName> |
User's UPN (user principal name, eg. [email protected]). If multiple users needs to be added, they have to be comma separated (ex. [email protected],[email protected]) |
-o, --output [output] |
Output type. json,text. Default text |
--verbose |
Runs command with verbose logging |
--debug |
Runs command with debug logging |
Additional Information
Command to add user to a SharePoint Group
Usage
spo group user addDescription
Add a user to SharePoint Group
Options
-u, --webUrl <webUrl>--groupId <groupId>--userName <userName>-o, --output [output]json,text. Defaulttext--verbose--debugAdditional Information
Command to add user to a SharePoint Group