File tree Expand file tree Collapse file tree
src/powershell/private/tests-shared Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ function Get-LabelPolicySettings {
2525 - SiteAndGroupMandatory: Sites/Groups mandatory labeling
2626 - PowerBIMandatory: Power BI mandatory labeling
2727 - DisableMandatoryInOutlook: Email override setting
28+ - AttachmentAction: Email label inheritance from attachments setting
2829 - ParseError: Any error that occurred during parsing
2930
3031 . EXAMPLE
@@ -54,6 +55,8 @@ function Get-LabelPolicySettings {
5455 SiteAndGroupMandatory = $false
5556 PowerBIMandatory = $false
5657 DisableMandatoryInOutlook = $false
58+ # Optional labeling settings
59+ AttachmentAction = $null
5760 # Parsing metadata
5861 ParseError = $null
5962 }
@@ -108,6 +111,10 @@ function Get-LabelPolicySettings {
108111 ' disablemandatoryinoutlook' {
109112 $result.DisableMandatoryInOutlook = ($valueLower -eq ' true' )
110113 }
114+ # Optional labeling settings
115+ ' attachmentaction' {
116+ $result.AttachmentAction = $value
117+ }
111118 default {
112119 Write-PSFMessage " Unknown setting key '$key ' in policy '$PolicyName '" - Level Verbose
113120 }
You can’t perform that action at this time.
0 commit comments