Skip to content

spo apppage set

Updates the single-part app page


m365 spo apppage set [options]


-u, --webUrl <webUrl>
The URL of the site where the page to update is located
-n, --name <name>
The name of the page to be updated, eg. page.aspx
-d, --webPartData <webPartData>
JSON string of the web part to update on the page
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is full.
--query [query]
JMESPath query string. See for more information and examples
-o, --output [output]
Output type. json,text,csv,md. Default json
Runs command with verbose logging
Runs command with debug logging


Updates the single-part app page located in a site with url Web part data is stored in the $webPartData variable

m365 spo apppage set --webUrl "" --name "Contoso.aspx" --webPartData $webPartData