Open
Description
openedon Sep 22, 2024
Description of the new feature
New-AzRoleAssignment cmdlet should support -Confirm
and -WhatIf
to maintain parity with Set-AzRoleAssignment and Remove-AzRoleAssignment
.
I was writing a script and wanted to use -Confirm for or RBAC write but noticed that New-AzRoleAssignment
does not support it even Set-AzRoleAssignment
does. This makes scripting really weird.
- Looks like
SetAzureRoleAssignmentCommand
was added with confirmation support but it was never added intoNew-AzRoleAssignment
- Not sure about history of
Remove-AzRoleAssignment
Proposed implementation details (optional)
No response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment