This commit is contained in:
Carlos Polop
2025-04-21 23:00:32 +02:00
parent cc3464f588
commit 6229cc5c3f

View File

@@ -27,6 +27,7 @@ Create the file `role.json` with the following **content**:
```json
{
"roleName": "<name of the role>",
"Name": "<name of the role>",
"IsCustom": true,
"Description": "Custom role with elevated privileges",
@@ -34,7 +35,8 @@ Create the file `role.json` with the following **content**:
"NotActions": [],
"DataActions": ["*"],
"NotDataActions": [],
"AssignableScopes": ["/subscriptions/<subscription-id>"]
"AssignableScopes": ["/subscriptions/<subscription-id>"],
"id": "/subscriptions/<subscription-id>/providers/Microsoft.Authorization/roleDefinitions/<role-id>",
}
```