Azure / Azure/azure-powershell

[Feature]: Add ApplicationId to the other *-AzRoleAssignment functions

Open
#26,889 2 comments 0 reactions 1 assignee Claimed by @VeryEarly View on GitHub
act-identity-squad ARM - RBAC Azure PS Team customer-reported feature-request
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
3d 14h
Merged PRs (30d)
54

Description

### Description of the new feature

The [New-AzRoleAssignment](https://github.com/Azure/azure-powershell/blob/5934633e608b6e6bdf084df7c055f747dcfaabbb/src/Resources/Resources/RoleAssignments/NewAzureRoleAssignmentCommand.cs#L68-L69) has a parameter called "ApplicationId" with the aliases;
- SPN
- ServicePrincipalName

However, the [Get-AzRoleAssignment](https://github.com/Azure/azure-powershell/blob/5934633e608b6e6bdf084df7c055f747dcfaabbb/src/Resources/Resources/RoleAssignments/GetAzureRoleAssignmentCommand.cs#L71-L72) only has a parameter called "ServicePrincipalName" with the alias 'SPN'

It's the same story with [Remove-AzRoleAssignment](https://github.com/Azure/azure-powershell/blob/5934633e608b6e6bdf084df7c055f747dcfaabbb/src/Resources/Resources/RoleAssignments/RemoveAzureRoleAssignmentCommand.cs#L70-L71).

### Proposed implementation details (optional)

Implement aliases for "ApplicationId" for Remove and Get functions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.