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
Controls whether file-level archiving is allowed at the tenant level. This setting can be overridden for specific sites by the site-level flag of the same name and has no effect unless Microsoft 365 Archive is enabled for your organization.
1142
+
1143
+
The valid values are:
1144
+
1145
+
- True (default) - Allows users to manually archive files on sites where file-level archiving is also enabled. Manual archiving is limited to internal users with write access to the file.
1146
+
- False - Blocks manual archiving for all files, regardless of the site-level setting. Admin-defined policies can still archive files automatically.
1147
+
1148
+
```yaml
1149
+
Type: Boolean
1150
+
Parameter Sets: (All)
1151
+
Aliases:
1152
+
1153
+
Required: False
1154
+
Position: Named
1155
+
Default value: True
1156
+
Accept pipeline input: False
1157
+
Accept wildcard characters: False
1158
+
```
1159
+
1160
+
### -AllowFileArchiveOnNewSitesByDefault
1161
+
1162
+
> Applicable: SharePoint Online
1163
+
1164
+
Specifies the default value of the `AllowFileArchive` property for newly created SharePoint sites. This determines whether new sites allow file-level archiving by default. Microsoft 365 Archive and the tenant-level `AllowFileArchive` setting must both be enabled for manual archiving to work when this property is set to True.
1165
+
1166
+
The valid values are:
1167
+
1168
+
- True (default) - Sets `AllowFileArchive` to True for all newly provisioned sites. Microsoft 365 Archive and the tenant-level `AllowFileArchive` setting must both be enabled for manual archiving to work on future provisioned sites.
1169
+
- False - Sets `AllowFileArchive` to False for all newly provisioned sites.
0 commit comments