File tree Expand file tree Collapse file tree 5 files changed +50
-12
lines changed Expand file tree Collapse file tree 5 files changed +50
-12
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ directive:
2020# Remove paths that are not valid.
2121 - remove-path-by-operation : (user|group)_(Update|Delete)Calendar$|(user|group)..*_(Get|Create|Update|Delete)CalendarView$|(user|group).(calendar).calendarView.*$|user.calendar_(Get|Update|Delete)Event$|(user|group).(calendar).event.*$|(user|group)_.*CalendarView$|(user|group).calendarView.*$|user.calendarGroup_(Get|Update|Delete)Calendar$|user.calendarGroup.calendar.*$|(group|user).event_(Create|Update|Create)Calendar$|(user|group).event.calendar.*$|placeAsRoomList.room_(Get|Update|Delete)GraphBPrePlaceId$|placeAsRoomList.workspace_(Get|Update|Delete)GraphBPrePlaceId$
2222# Rename cmdlets.
23+ - where :
24+ verb : Invoke
25+ subject : ^(CalendarUserEventCalendar|CalendarUserCalendar)$
26+ set :
27+ subject : $1AllowedCalendarSharingRoles
2328 - where :
2429 verb : Get
2530 subject : ^(User)(Calendar)$
@@ -31,6 +36,7 @@ directive:
3136 variant : ^List$|^Create$|^CreateExpanded$|^CreateViaIdentity$|^CreateViaIdentityExpanded$
3237 set :
3338 subject : $1Default$2
39+
3440# Remove duplicate cmdlet
3541 - where :
3642 verb : Get
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ require:
1818` ` ` yaml
1919directive :
2020# Remove invalid paths that exceed Windows file name limit.
21- - remove-path-by-operation: ^deviceManagement.(userExperienceAnalyticsDeviceScope_.*|reusablePolicySetting.referencingConfigurationPolicy_(assign|createCopy)|deviceShellScript.userRunState.deviceRunState.managedDevice_.*|windowsAutopilotDeploymentProfile.(assignedDevice_updateDeviceProperty|assignedDevice.deploymentProfile_assign|assignedDevice.intendedDeploymentProfile_assign|assignedDevice_assignResourceAccountToDevice|assignedDevice_unassignResourceAccountFromDevice)|deviceComplianceScript.deviceRunState.managedDevice_.*|deviceCustomAttributeShellScript.(deviceRunState.managedDevice_.*|userRunState.deviceRunState.managedDevice_.*)|deviceManagementScript.deviceRunState.managedDevice(_updateWindowsDeviceAccount|_logoutSharedAppleDeviceActiveUser|_deleteUserFromSharedAppleDevice|_createDeviceLogCollectionRequest|_sendCustomNotificationToCompanyPortal|_triggerConfigurationManagerAction|_windowsDefenderUpdateSignature)|deviceManagementScript.userRunState.deviceRunState.managedDevice_.*|deviceConfiguration.groupAssignment.deviceConfiguration(_assignedAccessMultiModeProfile|_windowsPrivacyAccessControl)|deviceHealthScript.deviceRunState.managedDevice(_sendCustomNotificationToCompanyPortal|_createDeviceLogCollectionRequest)|deviceShellScript.deviceRunState.managedDevice_sendCustomNotificationToCompanyPortal)|deviceManagement.microsoftTunnelSite.microsoftTunnelServer_generateServerLogCollectionRequest$|deviceManagement.reusablePolicySetting.referencingConfigurationPolicy_clearEnrollmentTimeDeviceMembershipTarget$|deviceManagement.reusablePolicySetting.referencingConfigurationPolicy_retrieveEnrollmentTimeDeviceMembershipTarget$|deviceManagement.reusablePolicySetting.referencingConfigurationPolicy_setEnrollmentTimeDeviceMembershipTarget$
21+ - remove-path-by-operation: ^deviceManagement.(userExperienceAnalyticsDeviceScope_.*|reusablePolicySetting.referencingConfigurationPolicy_(assign|createCopy)|deviceShellScript.userRunState.deviceRunState.managedDevice_.*|windowsAutopilotDeploymentProfile.(assignedDevice_updateDeviceProperty|assignedDevice.deploymentProfile_assign|assignedDevice.intendedDeploymentProfile_assign|assignedDevice_assignResourceAccountToDevice|assignedDevice_unassignResourceAccountFromDevice)|deviceComplianceScript.deviceRunState.managedDevice_.*|deviceCustomAttributeShellScript.(deviceRunState.managedDevice_.*|userRunState.deviceRunState.managedDevice_.*)|deviceManagementScript.deviceRunState.managedDevice(_updateWindowsDeviceAccount|_logoutSharedAppleDeviceActiveUser|_deleteUserFromSharedAppleDevice|_createDeviceLogCollectionRequest|_sendCustomNotificationToCompanyPortal|_triggerConfigurationManagerAction)|deviceManagementScript.userRunState.deviceRunState.managedDevice_.*|deviceConfiguration.groupAssignment.deviceConfiguration(_assignedAccessMultiModeProfile|_windowsPrivacyAccessControl)|deviceHealthScript.deviceRunState.managedDevice(_sendCustomNotificationToCompanyPortal|_createDeviceLogCollectionRequest)|deviceShellScript.deviceRunState.managedDevice_sendCustomNotificationToCompanyPortal)|deviceManagement.microsoftTunnelSite.microsoftTunnelServer_generateServerLogCollectionRequest$|deviceManagement.reusablePolicySetting.referencingConfigurationPolicy_clearEnrollmentTimeDeviceMembershipTarget$|deviceManagement.reusablePolicySetting.referencingConfigurationPolicy_retrieveEnrollmentTimeDeviceMembershipTarget$|deviceManagement.reusablePolicySetting.referencingConfigurationPolicy_setEnrollmentTimeDeviceMembershipTarget$
2222
2323# Remove cmdlets.
2424 - where :
Original file line number Diff line number Diff line change @@ -25,4 +25,41 @@ directive:
2525 subject : ^GroupOnenoteNotebookSectionGroupSectionPage$|^GroupOnenoteNotebookSectionPage$|^GroupOnenotePage$|^GroupOnenoteSectionGroupSectionPage$|^GroupOnenoteSectionPage$|^SiteOnenoteNotebookSectionGroupSectionPage$|^SiteOnenoteNotebookSectionPage$|^SiteOnenotePage$|^SiteOnenoteSectionGroupSectionPage$|^SiteOnenoteSectionPage$|^UserOnenoteNotebookSectionGroupSectionPage$|^UserOnenoteNotebookSectionPage$|^UserOnenotePage$|^UserOnenoteSectionGroupSectionPage$|^UserOnenoteSectionPage$
2626 variant : ^Update$|UpdateExpanded$|UpdateViaIdentity$|UpdateViaIdentityExpanded$
2727 remove : true
28+ # Rename cmdlets that call onenotePatchContent action.
29+ - where :
30+ verb : Update
31+ subject : (^SiteOnenote.*)
32+ set :
33+ subject : $1Content
34+ - where :
35+ verb : Get
36+ subject : ^(GroupOnenote)Notebook(RecentNotebook)$
37+ set :
38+ subject : $1$2
39+ - where :
40+ verb : Update
41+ subject : ^(GroupOnenotePage)$
42+ set :
43+ subject : $1Content
44+ - where :
45+ verb : Update
46+ subject : ^(GroupOnenoteSectionPage)$
47+ set :
48+ subject : $1Content
49+ - where :
50+ verb : Update
51+ subject : ^(GroupOnenoteNotebookSectionPage)$
52+ set :
53+ subject : $1Content
54+ - where :
55+ verb : Update
56+ subject : ^(GroupOnenoteSectionGroupSectionPage)$
57+ set :
58+ subject : $1Content
59+ - where :
60+ verb : Update
61+ subject : ^(GroupOnenoteNotebookSectionGroupSectionPage)$
62+ set :
63+ subject : $1Content
64+
2865```
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ require:
1818` ` ` yaml
1919directive :
2020# Remove invalid paths.
21- - remove-path-by-operation : ^(team_GetGroup|user\.joinedTeam.*|user_(Get|Update|Delete|Create)JoinedTeam|.*_UpdateInstalledApp)$|^team.channel.message_GetCount$
21+ - remove-path-by-operation : ^(team_GetGroup|user\.joinedTeam.*|user_(Get|Update|Delete|Create)JoinedTeam|.*_UpdateInstalledApp)$
2222# Remove cmdlets
2323 - where :
2424 verb : Remove
@@ -52,4 +52,9 @@ directive:
5252 subject : ^(Team|GroupTeam)All(ChannelCount)$
5353 set :
5454 subject : All$1$2
55+ - where :
56+ verb : Get
57+ subject : ^(User)(ChatMessage|OnlineMeetingTranscript|OnlineMeetingRecording)$
58+ set :
59+ subject : All$1$2
5560` ` `
Original file line number Diff line number Diff line change @@ -25,14 +25,4 @@ directive:
2525 subject : ^(UserOnenote)Notebook(RecentNotebook)$
2626 set :
2727 subject : $1$2
28- - where :
29- verb : Invoke
30- subject : ^(CalendarUserEventCalendar|CalendarUserCalendar)$
31- set :
32- subject : $1AllowedCalendarSharingRoles
33- - where :
34- verb : Get
35- subject : ^(User)(ChatMessage|OnlineMeetingTranscript|OnlineMeetingRecording)$
36- set :
37- subject : All$1$2
3828` ` `
You can’t perform that action at this time.
0 commit comments