diff --git a/src/Resources/Resources/ActiveDirectory/Cmdlets/RemoveAzureADGroupCommand.cs b/src/Resources/Resources/ActiveDirectory/Cmdlets/RemoveAzureADGroupCommand.cs index 541e21c68a46..7570925e33e1 100644 --- a/src/Resources/Resources/ActiveDirectory/Cmdlets/RemoveAzureADGroupCommand.cs +++ b/src/Resources/Resources/ActiveDirectory/Cmdlets/RemoveAzureADGroupCommand.cs @@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ActiveDirectory { - [Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ADGroup", SupportsShouldProcess = true, DefaultParameterSetName = ParameterSet.ObjectId), OutputType(typeof(bool))] + [Cmdlet("Remove", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ADGroup", SupportsShouldProcess = true, DefaultParameterSetName = ParameterSet.DisplayName), OutputType(typeof(bool))] public class RemoveAzureADGroupCommand : ActiveDirectoryBaseCmdlet { [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ObjectId, HelpMessage = "The object id of the group to be removed.")] diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index 34e5de30f0f5..c0f6ecaebe2a 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -19,10 +19,11 @@ --> ## Upcoming Release * Fixed for null reference bug in `Get-AzRoleAssignment` -* Marked switch `-Force` and `-PassThru` optional in `Remove-AzADGroup` (#10849) -* Fixed issue that `MailNickname` doesn't return in `Remove-AzADGroup` (#11167) -* Fix for null reference bug in GetAzureRoleAssignmentCommand -* Add breaking change attributes for upcoming changes to policy cmdlets +* Marked switch `-Force` and `-PassThru` optional in `Remove-AzADGroup` [#10849] +* Fixed issue that `MailNickname` doesn't return in `Remove-AzADGroup` [#11167] +* Fixed issue that `Remove-AzADGroup` pipe operation doesn't work [#11171] +* Fixed for null reference bug in GetAzureRoleAssignmentCommand +* Added breaking change attributes for upcoming changes to policy cmdlets * Updated `Get-AzResourceGroup` to perform resource group tag filtering on server-side * Extended Tag cmdlets to accept -ResourceId - Get-AzTag -ResourceId diff --git a/tools/StaticAnalysis/Exceptions/Az.Resources/BreakingChangeIssues.csv b/tools/StaticAnalysis/Exceptions/Az.Resources/BreakingChangeIssues.csv index 94820352a0d7..97089a745de6 100644 --- a/tools/StaticAnalysis/Exceptions/Az.Resources/BreakingChangeIssues.csv +++ b/tools/StaticAnalysis/Exceptions/Az.Resources/BreakingChangeIssues.csv @@ -110,4 +110,5 @@ "Microsoft.Azure.PowerShell.Cmdlets.ResourceManager.Cmdlets.dll","Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.SetAzurePolicyAssignmentCmdlet","Set-AzPolicyAssignment","0","1050","The parameter set '__AllParameterSets' for cmdlet 'Set-AzPolicyAssignment' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'Set-AzPolicyAssignment'." "Microsoft.Azure.PowerShell.Cmdlets.ResourceManager.Cmdlets.dll","Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.SetAzurePolicyAssignmentCmdlet","Set-AzPolicyAssignment","0","1050","The parameter set 'IdParameterSet' for cmdlet 'Set-AzPolicyAssignment' has been removed.","Add parameter set 'IdParameterSet' back to cmdlet 'Set-AzPolicyAssignment'." "Microsoft.Azure.PowerShell.Cmdlets.Resources.dll","Microsoft.Azure.Commands.ActiveDirectory.NewAzureADUserCommand","New-AzADUser","0","1050","The parameter set '__AllParameterSets' for cmdlet 'New-AzADUser' has been removed.","Add parameter set '__AllParameterSets' back to cmdlet 'New-AzADUser'." -"Microsoft.Azure.PowerShell.Cmdlets.ResourceManager.dll","Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.GetAzureDeploymentCmdlet","Get-AzDeployment","0","1050","The parameter set 'GetByDeploymentId' for cmdlet 'Get-AzDeployment' has been removed.","Add parameter set 'GetByDeploymentId' back to cmdlet 'Get-AzDeployment'." \ No newline at end of file +"Microsoft.Azure.PowerShell.Cmdlets.ResourceManager.dll","Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.GetAzureDeploymentCmdlet","Get-AzDeployment","0","1050","The parameter set 'GetByDeploymentId' for cmdlet 'Get-AzDeployment' has been removed.","Add parameter set 'GetByDeploymentId' back to cmdlet 'Get-AzDeployment'." +"Microsoft.Azure.PowerShell.Cmdlets.Resources.dll","Microsoft.Azure.Commands.ActiveDirectory.RemoveAzureADGroupCommand","Remove-AzADGroup","0","1060","The parameter set 'ObjectIdParameterSet' for cmdlet 'Remove-AzADGroup' is no longer the default parameter set.","Change the default parameter for cmdlet 'Remove-AzADGroup' back to 'ObjectIdParameterSet'." \ No newline at end of file