You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example creates a DLP policy named GlobalPolicy for the specified SharePoint Online and OneDrive for Business locations. The new policy has a descriptive comment and will be enabled on creation.
This example creates a DLP policy named PowerBIPolicy for all qualifying Power BI workspaces (that is, those hosted on Premium Gen2 capacities) except for the specified workspaces. The new policy has a descriptive comment and will be enabled on creation.
96
95
96
+
### Example 4
97
+
This example creates a DLP policy for Microsoft 365 Copilot (Preview) in several steps.
This first command returns information about all sensitivity labels. Select the GUID value of the sensitivity label that you want to use. For example, `e222b65a-b3a8-46ec-ae12-00c2c91b71c0`.
104
+
105
+
```powershell
106
+
$guidVar = "e222b65a-b3a8-46ec-ae12-00c2c91b71c0"
107
+
```
108
+
109
+
This second command stores the GUID value of the sensitivity label in the variable named $guidVar.
This third command creates the DLP policy. The Location value 470f2276-e011-4e9d-a6ec-20768be3a4b0 is Microsoft 365 Copilot. The $loc value needs to be updated depending on what Inclusions/Exclusions scoping you want to provide.
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:
488
+
489
+
- 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.
491
+
- Inclusions: Add security groups, distribution list or individuals to the scope of this DLP policy.
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:
747
+
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.
0 commit comments