New command: m365 pp website weblink list
Open
@Ateina is already working on this.
Since Jan 29, 2026.
good first issue
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 weblink list
Description
List all weblinks for the specified Power Pages website
Options
| Option | Description |
|---|---|
--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 websites are located. |
--asAdmin |
Run the command as admin and retrieve Power Pages websites for environments you do not have explicitly assigned permissions to. |
Examples
List all weblinks for the site Contoso
m365 pp website weblinks list --websiteName Contoso --environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
List all webfiles for the site by id
m365 pp website weblinks list --websiteId 2ca3eaa5-140f-4175-8261-3272edf9f339--environmentName "Default-2ca3eaa5-140f-4175-8261-3272edf9f339"
Default properties
- Name
- Id
- Description
- Publishing State
Additional Info
https://learn.microsoft.com/en-us/power-apps/developer/data-platform/reference/entities/mspp_weblink
See our m365 pp card list command on how to implement the as admin, and how to retrieve all items from a given endpoint: https://github.com/pnp/cli-microsoft365/blob/main/src/m365/pp/commands/card/card-list.ts
In this case the API call would be ${dynamicsApiUrl}/api/data/v9.2/mspp_weblinks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.