Skip to content

Commit

Permalink
Update GetAzureRoleAssignmentCommand.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 1ddbc00 commit d475649
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ public class GetAzureRoleAssignmentCommand : ResourcesBaseCmdlet
[Parameter(Mandatory = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSet.SPN,
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.ResourceGroup,
HelpMessage = "Resource group to assign the role to.")]
Expand Down

0 comments on commit d475649

Please sign in to comment.