I am trying to enhance my custom RBAC role by allowing users to reset their Linux VM
I couldn't able to find any exact role associated with the option for resetting the password for my Linux VM (see screenshot below)
Doing my own testing I found resetting password from Azure portal triggers the below API:
/subscriptions/xxxxxx/resourceGroups/xxxx/providers/Microsoft.Resources/deployments/VMAccessLinuxPasswordReset-20220824203332?api-version=2020-06-01
That means I have to provide Microsoft.Resources/deployments
role to reset the password ? I was hesitant to give this access which can indirectly gives access to deploy any resources on RG level.