Added minimal permissions for 'spo group' commands. Closes #7277#7447
Added minimal permissions for 'spo group' commands. Closes #7277#7447nanddeepn wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the SharePoint Online spo group command documentation to include the new Permissions section that documents minimal delegated and application permissions required to run each command, aligning with the documentation standard introduced in #7277.
Changes:
- Added a Permissions section (positioned immediately before Examples) to all
spo groupcommand docs in scope. - Documented minimal delegated vs. application permissions using Docusaurus
<Tabs>/<TabItem>for consistency. - Cleaned up example headings formatting in
group-add.mdx(removed accidental list/table formatting and added periods).
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| docs/docs/cmd/spo/group/group-add.mdx | Adds minimal delegated/app permissions for creating a SharePoint group; fixes example heading formatting. |
| docs/docs/cmd/spo/group/group-get.mdx | Adds minimal delegated/app permissions for retrieving a SharePoint group. |
| docs/docs/cmd/spo/group/group-list.mdx | Adds minimal delegated/app permissions for listing SharePoint groups. |
| docs/docs/cmd/spo/group/group-remove.mdx | Adds minimal delegated/app permissions for removing a SharePoint group (and imports Tabs components). |
| docs/docs/cmd/spo/group/group-set.mdx | Adds minimal delegated/app permissions for updating a SharePoint group (and imports Tabs components). |
| docs/docs/cmd/spo/group/group-member-add.mdx | Adds minimal delegated/app permissions for adding members to a SharePoint group. |
| docs/docs/cmd/spo/group/group-member-list.mdx | Adds minimal delegated/app permissions for listing group members. |
| docs/docs/cmd/spo/group/group-member-remove.mdx | Adds minimal delegated/app permissions for removing members from a SharePoint group (and imports Tabs components). |
|
Thanks, we'll review it soon! |
Adam-it
left a comment
There was a problem hiding this comment.
@nanddeepn Awesome work so far but I am wondering about the AllSites.Manage permissions scopes. I think it only allows to read and write items and lists in all site collections. But groups and especially managing group members is a permission kind of thing and I would expect AllSites.FullContro would be required. Could we give this a double check?
|
Hi @Adam-it |
Added minimal permissions for
spo groupcommands. Closes #7277