Complete the code to define the role name in the custom role JSON.
{
"Name": "[1]",
"IsCustom": true,
"Description": "Can manage resources",
"Actions": ["Microsoft.Resources/*/read"],
"NotActions": [],
"AssignableScopes": ["/subscriptions/12345678-1234-1234-1234-123456789abc"]
}The Name field should specify the custom role's name, such as "CustomRole".
Complete the code to specify the correct action permission for reading resources.
{
"Actions": ["[1]"],
"NotActions": []
}The action Microsoft.Resources/*/read allows read access to all resources, which is common in custom roles.
Fix the error in the AssignableScopes field by completing the scope string correctly.
{
"AssignableScopes": ["[1]"]
}The correct format for subscription scope starts with /subscriptions/ followed by the full subscription ID.
Fill both blanks to complete the custom role JSON with correct description and assignable scope.
{
"Description": "[1]",
"AssignableScopes": ["[2]"]
}The description should explain the role's purpose, and the assignable scope must be a valid subscription ID path.
Fill all three blanks to complete the custom role JSON with name, action, and assignable scope.
{
"Name": "[1]",
"Actions": ["[2]"],
"AssignableScopes": ["[3]"]
}The name identifies the role, the action specifies the permission, and the assignable scope defines where the role applies.