Azure / Azure/azure-powershell

[Feature]: Add -WhatIf switch to New-AzRoleAssignment

Open
#27,088 2 comments 0 reactions 0 assignees 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
2d 17h
Merged PRs (30d)
51

Description

### Description of the new feature

In contrast to many other New-Az* cmdlets the New-AzRoleAssignment does not support the `-WhatIf` parameter.

Request to add this option with the usual behavior to show what would happen if the cmdlet runs without actually making any changes.

### Proposed implementation details (optional)

_No response_

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.