Skip to content

Commit 0a9b5a1

Browse files
authored
Update New-DlpCompliancePolicy.md
Added -Locations param in example 4 Minor typo update for -Locations param description
1 parent 14e4fca commit 0a9b5a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exchange/exchange-ps/exchange/New-DlpCompliancePolicy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ $advrule = @{
147147
The advanced rule needs to be updated depending on the grouping of labels you want to provide as input.
148148

149149
```powershell
150-
New-DLPComplianceRule -Policy "Policy Name" -Name "Rule Name" -AdvancedRule $advrule -RestrictAccess @(@{setting="ExcludeContentProcessing";value="Block"})
150+
New-DLPComplianceRule -Policy "Policy Name" -Name "Rule Name" -AdvancedRule $advrule -RestrictAccess @(@{setting="ExcludeContentProcessing";value="Block"}) -Locations $loc
151151
```
152152

153153
In this command, replace "Policy Name" and "Rule Name" with the values you want to use.
@@ -487,7 +487,7 @@ Accept wildcard characters: False
487487
The Locations param specifies the workload, location, and security groups, distribution groups, or users that the DLP policy applies to. You can use this parameter with the following properties:
488488

489489
- Workload: Workloads where DLP policy should apply to. Set the value to Applications.
490-
- Location: Specific locations where DLP policy should apply to. For Microsoft 365 Copilot, (Preview), use the value 470f2276-e011-4e9d-a6ec-20768be3a4b0.
490+
- Location: Specific locations where DLP policy should apply to. For Microsoft 365 Copilot location (Preview), use the value 470f2276-e011-4e9d-a6ec-20768be3a4b0.
491491
- Inclusions: Add security groups, distribution list or individuals to the scope of this DLP policy.
492492

493493
For example:

0 commit comments

Comments
 (0)