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: exchange/docs-conceptual/client-advanced-settings.md
+24-1Lines changed: 24 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: PowerShell advanced settings for Microsoft Purview Information Protection
3
3
ms.author: yangczhang
4
4
author: zhang-yangchen
5
5
manager: aashishr
6
-
ms.date: 04/15/2024
6
+
ms.date: 04/17/2024
7
7
ms.audience: Admin
8
8
audience: Admin
9
9
ms.topic: article
@@ -42,6 +42,7 @@ The advanced settings that are supported by sensitivity labels built into Micros
42
42
|[EnableGlobalization](#enableglobalization)|Turn on classification globalization features|
43
43
|[JustificationTextForUserText](#justificationtextforusertext)|Customize justification prompt texts for modified labels|
44
44
|[LogMatchedContent](#logmatchedcontent)|Send information type matches to Microsoft Purview|
45
+
|[OfficeContentExtractionTimeout](#officecontentextractiontimeout)|Configure the auto-labeling timeout for Office files|
45
46
|[PFileSupportedExtensions](#pfilesupportedextensions)|Change which file types to protect|
46
47
|[ReportAnIssueLink](#reportanissuelink)|Add "Report an Issue" for users|
47
48
|[ScannerMaxCPU](#scannermaxcpu)|Limit CPU consumption|
@@ -237,6 +238,27 @@ Example PowerShell command, where your label policy is named "Global":
237
238
Set-LabelPolicy -Identity Global -AdvancedSettings @{LogMatchedContent="True"}
238
239
```
239
240
241
+
## OfficeContentExtractionTimeout
242
+
243
+
By default, the scanner's auto-labeling timeout on Office files is 3 seconds.
244
+
245
+
If you have a complex Excel file with many sheets or rows, 3 seconds might not be enough to automatically apply labels. To increase this timeout for the selected label policy, specify the following strings:
246
+
247
+
- Key: **OfficeContentExtractionTimeout**
248
+
249
+
- Value: Seconds, in the following format: `hh:mm:ss`.
250
+
251
+
> [!IMPORTANT]
252
+
> We recommend that you don't raise this timeout to higher than 15 seconds.
253
+
254
+
Example PowerShell command, where your label policy is named "Global":
255
+
256
+
```PowerShell
257
+
Set-LabelPolicy -Identity Global -AdvancedSettings @{OfficeContentExtractionTimeout="00:00:15"}
258
+
```
259
+
260
+
The updated timeout applies to auto-labeling on all Office files.
261
+
240
262
## PFileSupportedExtensions
241
263
242
264
With this setting, you can change which file types are encrypted but you cannot change the default encryption level from native to generic. For example, for users running the file labeler, you can change the default setting so that only Office files and PDF files are encrypted instead of all file types. But you cannot change these file types to be generically encrypted with a .pfile file name extension.
@@ -284,6 +306,7 @@ Example PowerShell command, where your label policy is named "Global":
284
306
Set-LabelPolicy -Identity Global -AdvancedSettings @{ReportAnIssueLink="mailto:[email protected]"}
0 commit comments