pnp / pnp/cli-microsoft365

New command: `spo web roleassignment list`

Open
#6,188 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue help wanted keep-open new feature
Dominant language
TypeScript
Stars
1.5k
Forks
413
Avg merge
5d 6h
Merged PRs (30d)
21

Description

Usage

m365 spo web roleassignment list [options]

Description

Lists all role assignments from a specific web

Options
Option Description
-u, --webUrl <webUrl> URL of the site.
Examples

Lists all role assignments of a specific site

m365 spo web roleassignment list --webUrl "https://contoso.sharepoint.com/sites/Marketing"
Default properties
  • PrincipalId
  • Member/Title
  • RoledefinitionBindings/Name (comma-separated)
Additional Info
API request
GET https://contoso.sharepoint.com/sites/Marketing/_api/Web/RoleAssignments?$expand=Member,RoleDefinitionBindings&$select=*,Member,RoleDefinitionBindings

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the existing spo web command entry points and compare nearby role-assignment commands, then use the supplied SharePoint REST request as the API reference. Done means spo web roleassignment list --webUrl lists the requested assignments with PrincipalId, Member/Title, and comma-separated RoleDefinitionBindings/Name as the default properties.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.