Skip to content

spo apppage add

Creates a single-part app page


m365 spo apppage add [options]


-u, --webUrl <webUrl>
The URL of the site where the page should be created
-t, --title <title>
The title of the page to be created
-d, --webPartData <webPartData>
JSON string of the web part to put on the page
Set, to add the page to the quick launch
-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


If you want to add the single-part app page to quick launch, use the addToQuickLaunch flag.


Create a single-part app page in a site with url, webpart data is stored in the $webPartData variable

m365 spo apppage add --title "Contoso" --webUrl "" --webPartData $webPartData --addToQuickLaunch