You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: microsoft-365/archive/archive-manage.md
+24-6Lines changed: 24 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,17 @@ When a site is archived, compliance features such as eDiscovery and retention la
42
42

43
43
44
44
> [!NOTE]
45
-
> To archive a hub site, you first need to unregister it as a hub site. Archiving Microsoft Teams-connected sites with private or shared channel sites isn't supported. Teams sites with standard channels are supported.
45
+
> To archive a hub site, you first need to unregister it as a hub site. Archiving Microsoft Teams-connected sites is only partially supported. For more information, see [Archive a site connected to Teams](archive-manage.md#archive-a-site-connected-to-teams).
46
+
47
+
### Archive a site connected to Teams
48
+
49
+
Sites associated with Teams with exclusively standard channels are supported for archiving.
50
+
51
+
Sites associated with Teams that include private or shared channels are only partially supported:
52
+
53
+
- SharePoint admin center: Archiving a site with channel sites is not possible. (Message: "The group connected site with channel sites associated can't be archived.")
54
+
55
+
- PowerShell and Graph API: Archiving a site with channel sites is not blocked. Only the main site associated to the Team (and its standard channels) is archived. The private and shared channel sites remain active. Archiving the channel sites directly is not possible, as these sites use unsupported site templates.
46
56
47
57
## Manage archived sites
48
58
@@ -52,7 +62,7 @@ Admins can view details of the site, such as the URL, Archive Status, or Storage
52
62
53
63
## Reactivate a site
54
64
55
-
If there's a need to access the site content again, the sites need to be reactivated. After a site is archived, it stays in the "Recently Archived" state for seven days. All reactivations from this state are free of cost and instantaneous. After seven days, the site enters the “Archived” state. Reactivations might take up to 24 hours, and have an associated reactivation cost. To learn more about the costs and how pricing works, see [Pricing model](archive-pricing.md).
65
+
If there's a need to access the site content again, the sites need to be reactivated. The activation time depends on the archive state of the site ("Recently archived" or "Archived"). For more information, see the [Archive states in Microsoft 365 Archive](archive-states.md).
56
66
57
67
After reactivation, the site moves back to the **Active sites** page. The site resumes its normal function, and the users have the same access rights to the site and its content as they did before the site was archived. After reactivation is complete, the storage consumed by the site will accrue to your storage quota consumption.
58
68
@@ -69,7 +79,11 @@ After reactivation, the site moves back to the **Active sites** page. The site r
69
79
70
80
5. If you're trying to reactivate a site from "Archived" state, you see a confirmation pop-up that shows an estimated price for reactivation. Select **Confirm** to reactivate. The site enters the "Reactivating" state. It moves to active sites once reactivation is complete.
71
81
72
-

82
+
<!---
83
+
Update needed: Screenshot still mentions reactivation cost and does not match current message in SPO Admin Center
84
+
--->
85
+
86
+

73
87
74
88
When you reactivate a site, its permissions, lists, pages, files, folder-structure, site-level policies, and other metadata will revert to the prearchival state, except if files are deleted from archived sites. The only two exceptions are when files are deleted while the site is archived:
75
89
@@ -78,9 +92,13 @@ When you reactivate a site, its permissions, lists, pages, files, folder-structu
78
92
79
93
Other than these two exceptions, you can expect the site to be unchanged.
80
94
81
-
## Change the archive status of site via PowerShell
95
+
## Change the archive status of a site via PowerShell
96
+
97
+
You can archive and reactivate sites by using the PowerShell cmdlet [**Set-SPOSiteArchiveState**](/powershell/module/sharepoint-online/set-spositearchivestate?view=sharepoint-ps&preserve-view=true).
98
+
99
+
## Change the archive status of a site via Graph API
82
100
83
-
You can also change the status of an archived siteby using the PowerShell cmdlet [**Set-SPOSiteArchiveState**](/powershell/module/sharepoint-online/set-spositearchivestate?view=sharepoint-ps&preserve-view=true).
101
+
You can archive a site by using the Graph API **beta** endpoint [**site: archive**](/graph/api/site-archive) or reactivate it by using the Graph API **beta** endpoint [**site: unarchive**](/graph/api/site-unarchive).
84
102
85
103
## Site templates supported
86
104
@@ -102,4 +120,4 @@ You can also change the status of an archived site by using the PowerShell cmdle
102
120
103
121
104
122
> [!NOTE]
105
-
> OneDrive accounts (site template 21) cannot be archived by admins. Some accounts will be put into archive by the OneDrive service when they are unlicensed for 93 days or more. When the service archives these accounts, admins can reactivate the accounts via PowerShell. [Learn more about unlicensed OneDrive accounts](/SharePoint/unlicensed-onedrive-accounts).
123
+
> OneDrive accounts (site template 21) cannot be archived by admins. Some accounts will be put into archive by the OneDrive service when they are unlicensed for 93 days or more. When the service archives these accounts, admins can reactivate the accounts via PowerShell. [Learn more about unlicensed OneDrive accounts](/SharePoint/unlicensed-onedrive-accounts).
0 commit comments