Open appieschot opened 2 months ago
One remark: let's rename environment
to -e, --environmentName <environmentName>
to be in line with other pp commands.
Done
May I work on this!
May I work on this!
All yours
hi @ktskumar, This issue will take part in the Hacktoberfest event which will take part during October. You may read more about this event here: https://github.com/pnp/cli-microsoft365/discussions/6383
If you want to participate and make this PR count towards this event please be sure to open the PR in October (no sooner and no later 😉)
Hey @ktskumar, thank you for all the hard work you’ve put in, it’s really appreciated! We’ve noticed that you have several issues assigned that haven't yet been created with a PR. To ensure everyone has a chance to get involved, especially with Hacktoberfest, I’ll be unassigning you from some of these issues.
We recommend focusing on 1 to 2 issues at a time. Once you’ve submitted a PR for an issue, you can easily claim another open one. This approach helps you manage the workload more effectively and ensures you can give each task the attention it needs.
Thanks again for your continued contributions!
May I take this up now!
Hi @ktskumar, I suggest you first finish one of the issues assigned to you (#6269 and #6336).
Hi, let me take this now..
Usage
m365 pp website list
Description
List all Power Pages websites in the specified Power Platform environment.
Options
-e, --environmentName <environmentName>
--asAdmin
Examples
List all Power Pages websites in the given Power Platform environment.
List Power Pages websites models in the given environment as admin.
Default properties
Checkout: https://learn.microsoft.com/en-us/rest/api/power-platform/powerpages/websites/get-websites#websitedto
Additional Info
You can have a look at the logic behind: https://learn.microsoft.com/en-us/power-platform/developer/cli/reference/pages#pac-pages-list
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.tsIn this case the API call would be
${dynamicsApiUrl}/api/data/v9.2/mspp_websites