Discussed in #3698
Originally posted by IfEyeOnlyKnew January 17, 2024
Is there a PnP version being worked on for Set-SPOSiteArchiveState? Would this replace the manual way of accessing the Microsoft 365 Archive to archive a site collection?
Set-SPOSiteArchiveState https://contoso.sharepoint.com/sites/Marketing -ArchiveState Archived
Use this cmdlet to change the archive status of the site. You must be a SharePoint Online administrator or Global administrator and be a site collection administrator to run the cmdlet. Microsoft 365 Archive needs to be enabled for the organization to be able to use the feature.
Thank you.
Discussed in #3698
Originally posted by IfEyeOnlyKnew January 17, 2024
Is there a PnP version being worked on for Set-SPOSiteArchiveState? Would this replace the manual way of accessing the Microsoft 365 Archive to archive a site collection?
Set-SPOSiteArchiveState https://contoso.sharepoint.com/sites/Marketing -ArchiveState ArchivedUse this cmdlet to change the archive status of the site. You must be a SharePoint Online administrator or Global administrator and be a site collection administrator to run the cmdlet. Microsoft 365 Archive needs to be enabled for the organization to be able to use the feature.
Thank you.