1
Secure identity and access
medium
Refer to the exhibit. A custom role definition is created with the JSON above. A user assigned this role in the Prod resource group attempts to restart a VM but receives an authorization error. What is the most likely cause?
Exhibit
{
"roleName": "Custom VM Operator",
"assignableScopes": ["/subscriptions/12345-abcde-.../resourceGroups/Prod"],
"permissions": [{
"actions": [
"Microsoft.Compute/virtualMachines/start/action",
"Microsoft.Compute/virtualMachines/restart/action"
],
"notActions": []
}]
}