Skip to content

New command: spo page publish #6420

@milanholemans

Description

@milanholemans

Usage

m365 spo page publish [options]

Description

Publishes a modern page

Options

Option Description
-u, --webUrl <webUrl> URL of the site.
-n, --name <name> Name of the page to target.

Examples

Publish a modern page

m365 spo page publish --webUrl https://contoso.sharepoint.com/sites/Marketing --name "Style guide.aspx"

Publish a modern page in a subfolder

m365 spo page publish --webUrl https://contoso.sharepoint.com/sites/Marketing --name "/Styles/Guide.aspx"

Default properties

No response

Additional Info

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions