-
Notifications
You must be signed in to change notification settings - Fork 308
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
New command: spo site archive
#6018
Labels
Comments
milanholemans
added
new feature
needs peer review
Needs second pair of eyes to review the spec or PR
labels
May 3, 2024
12 tasks
LGTM 👍 |
Jwaegebaert
added
help wanted
and removed
needs peer review
Needs second pair of eyes to review the spec or PR
labels
May 6, 2024
Can I work on this one? |
Definitely! Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage
m365 spo site archive [options]
Description
Archives a site collection
Options
-u, --url <url>
-f, --force
Examples
Archive a specific SharePoint site collection
m365 spo site archive --url "https://contoso.sharepoint.com/sites/Marketing"
Archive a specific SharePoint site collection without confirmation prompt
m365 spo site archive --url "https://contoso.sharepoint.com/sites/Marketing" --force
Default properties
No response
Additional Info
API request
Since the REST API request is an internal request, we prefer to use the CSOM request.
Remarks
Note
Info admonition: To use this command you must be a Global or SharePoint administrator.
Additional info
The text was updated successfully, but these errors were encountered: