Skip to content

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

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions