Skip to content

Commit fdd1765

Browse files
committed
Update New-DlpCompliancePolicy.md
1 parent cb66ebf commit fdd1765

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ $guidVar = "e222b65a-b3a8-46ec-ae12-00c2c91b71c0"
101101
102102
$loc = "[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","Inclusions":[{Type:"Tenant", Identity:"All"}]}]"
103103
104-
New-DLPCompliancePolicy -Name "Policy Name" -Locations $loc
104+
New-DLPCompliancePolicy -Name "Copilot Policy" -Locations $loc
105105
106106
$advRule = @{
107107
"Version" = "1.0"
@@ -131,7 +131,7 @@ $advRule = @{
131131
}
132132
} | ConvertTo-Json -Depth 100
133133
134-
New-DLPComplianceRule -Name "Rule Name" -Policy "Policy Name" -AdvancedRule $advrule -RestrictAccess @(@{setting="ExcludeContentProcessing";value="Block"})
134+
New-DLPComplianceRule -Name "Copilot Rule" -Policy "Copilot Policy" -AdvancedRule $advrule -RestrictAccess @(@{setting="ExcludeContentProcessing";value="Block"})
135135
```
136136

137137
This example creates a DLP policy for Microsoft 365 Copilot (Preview) in several steps:
@@ -142,11 +142,11 @@ This example creates a DLP policy for Microsoft 365 Copilot (Preview) in several
142142

143143
- The third command stores the Microsoft 365 Copilot location (470f2276-e011-4e9d-a6ec-20768be3a4b0) in the variable named $loc. Update the $loc value based on the Inclusions/Exclusions scoping that you want to provide.
144144

145-
- The fourth command creates the DLP policy using the $loc variable for the value of the Locations parameter. Replace "Policy Name" with the name you want to use.
145+
- The fourth command creates the DLP policy using the $loc variable for the value of the Locations parameter, and "Copilot Policy" as the name of the policy (use any unique name).
146146

147147
- The fifth command creates the variable named $advRule. The advanced rule needs to be updated depending on the grouping of labels you want to provide as input.
148148

149-
- The last command creates the DLP rule. Replace "Rule Name" with the name you want to use. Replace "Policy Name" with the name value from the fourth step.
149+
- The last command creates the DLP rule with the name "Copilot Rule" (use any unique name). Use the name of the DLP policy from step four as the value of the Policy parameter.
150150

151151
## PARAMETERS
152152

0 commit comments

Comments
 (0)