@@ -41,34 +41,37 @@ To use this cmdlet in Security & Compliance PowerShell, you need to be assigned
41
41
42
42
### Example 1
43
43
``` powershell
44
- New-FeatureConfiguration -Name "Collection policy for supported Copilots" -FeatureScenario KnowYourData -Mode Enable -ScenarioConfig '{"Activities":["UploadText","DownloadText"],"EnforcementPlanes":["CopilotExperiences","Browser"],"SensitiveTypeIds":["All"],"IsIngestionEnabled":true}' – Locations '[{"Workload":"Applications","Location":"52655","LocationSource":"SaaS","LocationType":"Individual","Inclusions":[{"Type":"Tenant","Identity":"All","DisplayName":"All","Name":"All"}]},{"Workload":"Applications","Location":"49baeafd-1a6b-4c58-be55-75ae6d1dff6a","LocationSource":"PurviewConfig","LocationType":"Group","Inclusions":[{"Type":"Tenant","Identity":"All","DisplayName":"All","Name":"All"}]}]'
44
+ New-FeatureConfiguration -Name "Collection policy for supported Copilots" -FeatureScenario KnowYourData -Mode Enable -ScenarioConfig '{"Activities":["UploadText","DownloadText"],"EnforcementPlanes":["CopilotExperiences","Browser"],"SensitiveTypeIds":["All"],"IsIngestionEnabled":true}' - Locations '[{"Workload":"Applications","Location":"52655","LocationSource":"SaaS","LocationType":"Individual","Inclusions":[{"Type":"Tenant","Identity":"All","DisplayName":"All","Name":"All"}]},{"Workload":"Applications","Location":"49baeafd-1a6b-4c58-be55-75ae6d1dff6a","LocationSource":"PurviewConfig","LocationType":"Group","Inclusions":[{"Type":"Tenant","Identity":"All","DisplayName":"All","Name":"All"}]}]'
45
45
```
46
46
47
- This example creates an enabled collection policy named "Collection policy for supported Copilots" that:
48
- - Includes UploadText & DownloadText activity for all supported classifiers
49
- - Captures all AI prompts
50
- - Includes Microsoft Copilot & Copilot Experiences locations, both scoped to all users & groups
47
+ This example creates an enabled collection policy named "Collection policy for supported Copilots" with the following settings:
48
+
49
+ - Includes UploadText and DownloadText activity for all supported classifiers.
50
+ - Captures all AI prompts.
51
+ - Includes Microsoft Copilot and Copilot Experiences locations, both scoped to all users and groups.
51
52
52
53
### Example 2
53
54
``` powershell
54
- New-FeatureConfiguration -Name "Scoped browser collection policy for Microsoft Copilot" -FeatureScenario KnowYourData -Mode Enable -ScenarioConfig '{"Activities":["UploadText"],"EnforcementPlanes":["Browser"],"SensitiveTypeIds":["All"],"ExcludedSensitiveTypeIds":["50b8b56b-4ef8-44c2-a924-03374f5831ce","8548332d-6d71-41f8-97db-cc3b5fa544e6"],"IsIngestionEnabled":false}' – Locations '[{"Workload":"Applications","Location":"52655","LocationDisplayName":null,"LocationSource":"SaaS","LocationType":"Individual","Inclusions":[{"Type":"Tenant","Identity":"All","DisplayName":"All","Name":"All"}],"Exclusions":[{"Type":"Group","Identity":"db458ddb-4f56-4d88-a4f7-e29545560839","DisplayName":"Contoso Executives","Name":"[email protected] "}]}]'
55
+ New-FeatureConfiguration -Name "Scoped browser collection policy for Microsoft Copilot" -FeatureScenario KnowYourData -Mode Enable -ScenarioConfig '{"Activities":["UploadText"],"EnforcementPlanes":["Browser"],"SensitiveTypeIds":["All"],"ExcludedSensitiveTypeIds":["50b8b56b-4ef8-44c2-a924-03374f5831ce","8548332d-6d71-41f8-97db-cc3b5fa544e6"],"IsIngestionEnabled":false}' - Locations '[{"Workload":"Applications","Location":"52655","LocationDisplayName":null,"LocationSource":"SaaS","LocationType":"Individual","Inclusions":[{"Type":"Tenant","Identity":"All","DisplayName":"All","Name":"All"}],"Exclusions":[{"Type":"Group","Identity":"db458ddb-4f56-4d88-a4f7-e29545560839","DisplayName":"Contoso Executives","Name":"[email protected] "}]}]'
55
56
```
56
57
57
- This example creates an enabled collection policy named "Scoped browser collection policy for Microsoft Copilot" that:
58
- - Includes UploadText activity for all supported classifiers except "All Full Names" and "All Physical Addresses"
59
- - Includes Microsoft Copilot location, for all users & groups except the "Contoso Executives Group"
58
+ This example creates an enabled collection policy named "Scoped browser collection policy for Microsoft Copilot" with the following settings:
59
+
60
+ - Includes UploadText activity for all supported classifiers except "All Full Names" and "All Physical Addresses."
61
+ - Includes Microsoft Copilot location, for all users and groups except the "Contoso Executives Group."
60
62
61
63
### Example 3
62
64
``` powershell
63
- New-FeatureConfiguration -Name "Scoped collection policies for browser and devices" -FeatureScenario KnowYourData -Mode Disable -ScenarioConfig '{"Activities":["UploadText","filecreated","filedeleted","filemodified"],"EnforcementPlanes":["Devices","Browser"],"SensitiveTypeIds":["a44669fe-0d48-453d-a9b1-2cc83f2cba77","cb353f78-2b72-4c3c-8827-92ebe4f69fdf"],"FileExtensions":["pdf"],"IsIngestionEnabled":false}' – Locations '[{"Workload":"EndpointDevices","Location":"","Inclusions":[{"Type":"Group","Identity":"db458ddb-4f56-4d88-a4f7-e29545560839","DisplayName":"All Company","Name":"[email protected] "}],"Exclusions":[{"Type":"IndividualResource","Identity":"a828f25a-cede-4d0e-97e6-b0b0c913732a","DisplayName":"Alex Wilber","Name":"[email protected] "}]},{"Workload":"Applications","Location":"52655","LocationSource":"SaaS","LocationType":"Individual","Inclusions":[{"Type":"IndividualResource","Identity":"84f9af2e-b224-4cb8-b9cd-bc531bb07a48","DisplayName":"Adele Vance","Name":"[email protected] "}]}]'
65
+ New-FeatureConfiguration -Name "Scoped collection policies for browser and devices" -FeatureScenario KnowYourData -Mode Disable -ScenarioConfig '{"Activities":["UploadText","filecreated","filedeleted","filemodified"],"EnforcementPlanes":["Devices","Browser"],"SensitiveTypeIds":["a44669fe-0d48-453d-a9b1-2cc83f2cba77","cb353f78-2b72-4c3c-8827-92ebe4f69fdf"],"FileExtensions":["pdf"],"IsIngestionEnabled":false}' - Locations '[{"Workload":"EndpointDevices","Location":"","Inclusions":[{"Type":"Group","Identity":"db458ddb-4f56-4d88-a4f7-e29545560839","DisplayName":"All Company","Name":"[email protected] "}],"Exclusions":[{"Type":"IndividualResource","Identity":"a828f25a-cede-4d0e-97e6-b0b0c913732a","DisplayName":"Alex Wilber","Name":"[email protected] "}]},{"Workload":"Applications","Location":"52655","LocationSource":"SaaS","LocationType":"Individual","Inclusions":[{"Type":"IndividualResource","Identity":"84f9af2e-b224-4cb8-b9cd-bc531bb07a48","DisplayName":"Adele Vance","Name":"[email protected] "}]}]'
64
66
```
65
67
66
- This example creates a disabled collection policy named "Scoped collection policies for browser and devices" that:
67
- - Includes UploadText (for browser) and filecreated, filedeleted, and filemodified activities (for devices)
68
- - Includes "U.S. Social Security Number (SSN)" and "ABA Routing Number" classifiers only
69
- - Detects files on devices with "pdf" file extension only
70
- - Includes devices location, scoped to the "All company" group, excluding the user "Alex Wilber"
71
- - Includes Microsoft Copilot location, scoped only to the user "Adele Vance"
68
+ This example creates a disabled collection policy named "Scoped collection policies for browser and devices" with the following settings:
69
+
70
+ - Includes UploadText (for browser) and filecreated, filedeleted, and filemodified activities (for devices).
71
+ - Includes "U.S. Social Security Number (SSN)" and "ABA Routing Number" classifiers only.
72
+ - Detects files on devices with "pdf" file extension only.
73
+ - Includes devices location, scoped to the "All company" group, excluding the user "Alex Wilber."
74
+ - Includes Microsoft Copilot location, scoped only to the user "Adele Vance."
72
75
73
76
## PARAMETERS
74
77
0 commit comments