Open appieschot opened 1 month ago
May I work on this
Hi @milanholemans, it seems that mspp_weblink not returning the website information in direct response, which we can use it for filter. However mspp_weblinkset does contain the website information. Please, let me know your comments to proceed on this command.
@appieschot can you help out?
Usage
m365 pp website weblink list
Description
List all weblinks for the specified Power Pages website
Options
--websiteId [websiteId]
websiteId
orwebName
but not both.--websiteName [websiteName]
websiteId
orwebName
but not both.-e, --environmentName <environmentName>
--asAdmin
Examples
List all weblinks for the site Contoso
List all webfiles for the site by id
Default properties
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.tsIn this case the API call would be
${dynamicsApiUrl}/api/data/v9.2/mspp_weblinks