From 1ddbc00a216064eaad727a2c6148bd59f16649d1 Mon Sep 17 00:00:00 2001 From: Sebastian Claesson <34689432+SebastianClaesson@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:07:35 +0100 Subject: [PATCH] Update RemoveAzureRoleAssignmentCommand.cs Adding ApplicationId parameter, with aliases; - SPN - ServicePrincipalName --- .../RoleAssignments/RemoveAzureRoleAssignmentCommand.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Resources/Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs b/src/Resources/Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs index 5e26dddf255c..d767acbafed9 100644 --- a/src/Resources/Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs +++ b/src/Resources/Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs @@ -67,8 +67,8 @@ public class RemoveAzureRoleAssignmentCommand : ResourcesBaseCmdlet [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ScopeWithSPN, HelpMessage = "The app SPN.")] [ValidateNotNullOrEmpty] - [Alias("SPN")] - public string ServicePrincipalName { get; set; } + [Alias("SPN", "ServicePrincipalName")] + public string ApplicationId { get; set; } [Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.ResourceGroupWithObjectId, HelpMessage = "Resource group to assign the role to.")]