Skip to main content

spo page template list

Lists all page templates in the given site


m365 spo page template list [options]


-u, --webUrl <webUrl>

URL of the site from which to retrieve available pages.

-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 options.

--query [query]

JMESPath query string. See for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.


Runs command with verbose logging.


Runs command with debug logging.


Lists all page templates in the given site

m365 spo page template list --webUrl


"AbsoluteUrl": "",
"AuthorByline": [
"BannerImageUrl": "",
"BannerThumbnailUrl": "",
"CallToAction": "",
"Categories": null,
"ContentTypeId": "0x0101009D1CB255DA76424F860D91F20E6C411800F1678937A82C3142BEF3C962300813B5",
"Description": "Company policy are set in place to establish the rules of conduct within an organization, outlining the responsibilities of both employees and employers. The management of company policy and procedures aim to protect the rights of workers as well as…",
"DoesUserHaveEditPermission": true,
"FileName": "Company-Policy.aspx",
"FirstPublished": "0001-01-01T08:00:00Z",
"Id": 27,
"IsPageCheckedOutToCurrentUser": false,
"IsWebWelcomePage": false,
"Modified": "2022-11-26T10:51:12Z",
"PageLayoutType": "Article",
"Path": {
"DecodedUrl": "SitePages/Templates/Company-Policy.aspx"
"PromotedState": 0,
"Title": "Company Policy",
"TopicHeader": null,
"UniqueId": "06509101-7e2f-4467-afd2-97bad4a53ef2",
"Url": "SitePages/Templates/Company-Policy.aspx",
"Version": "0.1",
"VersionInfo": {
"LastVersionCreated": "0001-01-01T00:00:00-08:00",
"LastVersionCreatedBy": ""