Skip to content

Commit 24cebfa

Browse files
author
cabailey
committed
add OfficeContentExtractionTimeout
1 parent 7c98353 commit 24cebfa

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

exchange/docs-conceptual/client-advanced-settings.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: PowerShell advanced settings for Microsoft Purview Information Protection
33
ms.author: yangczhang
44
author: zhang-yangchen
55
manager: aashishr
6-
ms.date: 04/15/2024
6+
ms.date: 04/17/2024
77
ms.audience: Admin
88
audience: Admin
99
ms.topic: article
@@ -42,6 +42,7 @@ The advanced settings that are supported by sensitivity labels built into Micros
4242
|[EnableGlobalization](#enableglobalization) |Turn on classification globalization features|
4343
|[JustificationTextForUserText](#justificationtextforusertext) |Customize justification prompt texts for modified labels|
4444
|[LogMatchedContent](#logmatchedcontent)|Send information type matches to Microsoft Purview|
45+
|[OfficeContentExtractionTimeout](#officecontentextractiontimeout)|Configure the auto-labeling timeout for Office files|
4546
|[PFileSupportedExtensions](#pfilesupportedextensions)|Change which file types to protect|
4647
|[ReportAnIssueLink](#reportanissuelink) |Add "Report an Issue" for users|
4748
|[ScannerMaxCPU](#scannermaxcpu) |Limit CPU consumption|
@@ -237,6 +238,27 @@ Example PowerShell command, where your label policy is named "Global":
237238
Set-LabelPolicy -Identity Global -AdvancedSettings @{LogMatchedContent="True"}
238239
```
239240

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+
240262
## PFileSupportedExtensions
241263

242264
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":
284306
Set-LabelPolicy -Identity Global -AdvancedSettings @{ReportAnIssueLink="mailto:[email protected]"}
285307
```
286308

309+
287310
## ScannerMaxCPU
288311

289312
> [!IMPORTANT]

0 commit comments

Comments
 (0)