Skip to content

Commit

Permalink
Update RemoveAzureRoleAssignmentCommand.cs
Browse files Browse the repository at this point in the history
Adding ApplicationId parameter, with aliases; 
- SPN
- ServicePrincipalName
  • Loading branch information
SebastianClaesson authored Dec 17, 2024
1 parent 814b8b8 commit 1ddbc00
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.")]
Expand Down

0 comments on commit 1ddbc00

Please sign in to comment.