Skip to content

Commit 1d4711f

Browse files
committed
Synch Locations param description
1 parent b574fee commit 1d4711f

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ Accept wildcard characters: False
481481
```
482482

483483
### -Locations
484-
The Locations parameter specifies to who, what, and where the DLP policy applies. This parameter uses the following properties:
484+
The Locations parameter specifies to whom, what, and where the DLP policy applies. This parameter uses the following properties:
485485

486486
- Workload: What the DLP policy applies to. Use the value `Applications`.
487487
- Location: Where the DLP policy applies. For Microsoft 365 Copilot, (Preview), use the value `470f2276-e011-4e9d-a6ec-20768be3a4b0`.
@@ -502,7 +502,7 @@ DLP policy scoped to all users in the tenant except for members of the specified
502502

503503
`$loc = "[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","Inclusions":[{Type:"Tenant",Identity:"All"}]}],"Exclusions":[{"Type":"Group","Identity":"fef0dead-5668-4bfb-9fc2-9879a47f9bdb"}]}]"`
504504

505-
After you create the `$loc` variable, use the value `$loc` for this parameter.
505+
After you create the `$loc` variable as shown in the previous examples, use the value `$loc` for this parameter.
506506

507507
```yaml
508508
Type: String

exchange/exchange-ps/exchange/Set-DlpCompliancePolicy.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -743,17 +743,28 @@ Accept wildcard characters: False
743743
```
744744

745745
### -Locations
746-
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:
746+
The Locations parameter specifies to whom, what, and where the DLP policy applies. This parameter uses the following properties:
747747

748-
- Workload: Workloads where DLP policy should apply to. Set the value to Applications.
749-
- Location: Specific locations where DLP policy should apply to. For Microsoft 365 Copilot, (Preview), use the value 470f2276-e011-4e9d-a6ec-20768be3a4b0.
750-
- Inclusions: Add security groups, distribution list or individuals to the scope of this DLP policy.
748+
- Workload: What the DLP policy applies to. Use the value `Applications`.
749+
- Location: Where the DLP policy applies. For Microsoft 365 Copilot, (Preview), use the value `470f2276-e011-4e9d-a6ec-20768be3a4b0`.
750+
- Inclusions: Who the DLP policy applies to. For users, use the email address in this syntax: `{Type:IndividualResource,Identity:<EmailAddress>}`. For security groups or distribution groups, use the ObjectId value of the group from the Microsoft Entra portal in this syntax: `{Type:Group,Identity:<ObjectId>}`. For the entire tenant, use this value: `{Type:"Tenant",Identity:"All"}`.
751+
- Exclusions: Exclude security groups, distribution groups, or users from the scope of this DLP policy. For users, use the email address in this syntax: `{Type:IndividualResource,Identity:<EmailAddress>}`. For groups, use the ObjectId value of the group from the Microsoft Entra portal in this syntax: `{Type:Group, Identity:<ObjectId>}`.
751752

752-
For example:
753+
You create and store the properties in a variable as shown in the following examples:
754+
755+
DLP policy scoped to all users in the tenant:
753756

754757
`$loc = "[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","Inclusions":[{Type:"Tenant",Identity:"All"}]}]"`
755758

756-
And then use the value $loc for this parameter.
759+
DLP policy scoped to the specified user and groups:
760+
761+
`$loc = "[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","Inclusions":[{"Type":"Group","Identity":"fef0dead-5668-4bfb-9fc2-9879a47f9bdb"},{"Type":"Group","Identity":"b4dc1e1d-8193-4525-b59c-6d6e0f1718d2"},{"Type":"IndividualResource","Identity":"[email protected]"}]}]"`
762+
763+
DLP policy scoped to all users in the tenant except for members of the specified group:
764+
765+
`$loc = "[{"Workload":"Applications","Location":"470f2276-e011-4e9d-a6ec-20768be3a4b0","Inclusions":[{Type:"Tenant",Identity:"All"}]}],"Exclusions":[{"Type":"Group","Identity":"fef0dead-5668-4bfb-9fc2-9879a47f9bdb"}]}]"`
766+
767+
After you create the `$loc` variable as shown in the previous examples, use the value `$loc` for this parameter.
757768

758769
```yaml
759770
Type: String

0 commit comments

Comments
 (0)