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
If an error occurs while creating a new site using the
spo site addcommand, the command exits incorrectly with 0 exit code, rather than 1.Repro steps:
spo site addwith a non-existent URL to force an error