Skip to content

'spo site add' exits with 0 exit code when an error occurred while creating a site  #511

@waldekmastykarz

Description

@waldekmastykarz

If an error occurs while creating a new site using the spo site add command, the command exits incorrectly with 0 exit code, rather than 1.

Repro steps:

  • sign in to your tenant admin site
  • execute the spo site add with a non-existent URL to force an error

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions