From 028208db5ca58a888a24ce2350f89ed27b586f9f Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Wed, 26 Mar 2025 12:48:56 +0300 Subject: [PATCH 1/2] Added alias for the renamed cmdlet for backward compatibility --- src/readme.graph.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/readme.graph.md b/src/readme.graph.md index 798ccff4a12..aaa35410a6a 100644 --- a/src/readme.graph.md +++ b/src/readme.graph.md @@ -962,5 +962,23 @@ directive: subject: ^(.*)(OnPremise)(.*)$ set: alias: ^(.*)(OnPremises)(.*)$ + +# Setting the alias below as per the request on issue [#3241](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3241) + + - where: + verb: Get + subject: UserOnlineMeetingTranscript + set: + alias: Get-Mg${subject-prefix}AllUserOnlineMeetingTranscript + - where: + verb: Get + subject: UserEventDelta + set: + alias: Get-Mg${subject-prefix}UserCalendarEventDelta + - where: + verb: Get + subject: UserOnlineMeetingRecording + set: + alias: Get-Mg${subject-prefix}AllUserOnlineMeetingRecording ``` From 2f0b46251f0ce0e1b1cc29362cad26d8f40d2e1a Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Wed, 26 Mar 2025 13:45:54 +0300 Subject: [PATCH 2/2] Ensured that the already aliased names don't regenerate as cmdlets --- src/Calendar/Calendar.md | 5 +++++ src/CloudCommunications/CloudCommunications.md | 11 +++++++++++ 2 files changed, 16 insertions(+) diff --git a/src/Calendar/Calendar.md b/src/Calendar/Calendar.md index e3b6d0f4ec9..b0a728d2365 100644 --- a/src/Calendar/Calendar.md +++ b/src/Calendar/Calendar.md @@ -42,4 +42,9 @@ directive: verb: Get subject: ^(UserCalendarSchedule)$ remove: true +#Remove cmdlet to avoid conflicts where alias has been set:[#3241](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3241) + - where: + verb: Get + subject: ^UserCalendarEventDelta$ + remove: true ``` diff --git a/src/CloudCommunications/CloudCommunications.md b/src/CloudCommunications/CloudCommunications.md index 8be70715c68..75de732a401 100644 --- a/src/CloudCommunications/CloudCommunications.md +++ b/src/CloudCommunications/CloudCommunications.md @@ -38,4 +38,15 @@ directive: subject: ^UserOnlineMeeting$ variant: ^(Create|CreateExpanded|CreateViaIdentity|CreateViaIdentityExpanded)([1-9]{1,2})$ remove: true + +#Remove cmdlet to avoid conflicts where alias has been set: [#3241](https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/3241) + - where: + verb: Get + subject: ^AllUserOnlineMeetingRecording$ + remove: true + - where: + verb: Get + subject: ^AllUserOnlineMeetingTranscript$ + remove: true + ```