Skip to content
New issue

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

Bug report: spo site ensure fails with non-existent site #2861

Closed
waldekmastykarz opened this issue Dec 7, 2021 · 0 comments
Closed

Bug report: spo site ensure fails with non-existent site #2861

waldekmastykarz opened this issue Dec 7, 2021 · 0 comments
Assignees
Milestone

Comments

@waldekmastykarz
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant