pnp / pnp/cli-microsoft365

New command: m365 pp website webrole get

Open
#6,284 7 comments 0 reactions 1 assignee View on GitHub

@Ateina is already working on this.

Since Jan 29, 2026.

new feature work in progress
Dominant language
TypeScript
Stars
1.5k
Forks
413
Avg merge
5d 6h
Merged PRs (30d)
21

Description

Usage

m365 pp website webrole get

Description

Gets information about the specified webrole

Options
Option Description
-i, --id <id> The id of the webrole to retrieve details for.
--websiteId [websiteId] ID of the Power Pages website. Specify either websiteId or webName but not both.
--websiteName [websiteName] The unique name (not the display name) of the Power Pages website. Specify either websiteId or webName but not both.
-e, --environmentName <environmentName> The name of the environment where the Power Pages website is located.
--asAdmin Run the command as admin and retrieve the webrole for environments without explicitly assigned permissions.
Examples

Retrieve webrole for the site Contoso

m365 pp website webrole get --id 2ca3eaa5-140f-4175-8261-3272edf9f339 --websiteName Contoso --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
Default properties

No response

Additional Info

https://learn.microsoft.com/en-us/power-apps/developer/data-platform/reference/entities/mspp_webrole

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.