We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you specify a URL of a non-existent site in the spo site ensure command, it fails with the '404 FILE NOT FOUND' error.
spo site ensure
m365 spo site ensure --url https://contoso.sharepoint.com/sites/team1 --alias team1 --title "Team 1"
If the site doesn't exist, it should be created, if it exists, it should be updated.
Error: 404 FILE NOT FOUND
n/a
Latest from main
v16.13.0
macOS
zsh
No response
The text was updated successfully, but these errors were encountered:
Changes handling non-existent sites in 'spo site ensure'. Closes pnp#…
bf0ff0e
…2861
80d3cf7
waldekmastykarz
Successfully merging a pull request may close this issue.
Description
When you specify a URL of a non-existent site in the
spo site ensure
command, it fails with the '404 FILE NOT FOUND' error.Steps to reproduce
m365 spo site ensure --url https://contoso.sharepoint.com/sites/team1 --alias team1 --title "Team 1"
Expected results
If the site doesn't exist, it should be created, if it exists, it should be updated.
Actual results
Error: 404 FILE NOT FOUND
Diagnostics
n/a
CLI for Microsoft 365 version
Latest from main
nodejs version
v16.13.0
Operating system (environment)
macOS
Shell
zsh
cli doctor
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered: