Skip to content

--welcomePage option in m365 spo web set is not working #4731

Closed
@ganesh-sanap

Description

@ganesh-sanap

I am trying to use m365 spo web set command to set home page for our SharePoint site.

I am using example given in documentation at m365 spo web set like:

m365 spo web set  --url https://contoso.sharepoint.com/sites/team-a --welcomePage "SitePages/new-home.aspx"

However it is throwing below error:

Error: The property 'welcomePage' does not exist on type 'SP.Web'. Make sure to only use property names that are defined by the type.

image

I am using v6.5.0. Is --welcomePage option in m365 spo web set command removed recently or is there any bug in the command?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions