Skip to content

Provide script to assign a role to a resource #151

@mbraekman

Description

@mbraekman

Is your feature request related to a problem? Please describe.
Since the current script New-AzResourceGroupRoleAssignment only allows for the creation of a new role assignment to a resource group, a separate script New-AzResourceRoleAssignment should be created to assign a new role based on the ObjectId or ResourceGroupName/Resource-combo to a specific resource.

Describe the solution you'd like
The script should accept the following parameters:

Describe alternatives you've considered
Extend the existing function, however then the name should be changed, which means introducing a breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:securityAll issues related to Azure Securityfeature-suggestionAll issues related suggestion of a new feature. These are nice to haves but not customer requests

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions