az role definition create --role-definition (this does not work)
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
az : Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
At C:\Users\v-csanders\Desktop\idm\role.ps1:3 char:1
+ az role definition create --role-definition '{
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Expecting prope...lumn 2 (char 1):String) [], RemoteExce
ption
+ FullyQualifiedErrorId : NativeCommandError
-----------------------------------
az role definition create --role-definition '{
"Name": "Billing administrator",
"Description": "Perform Billing/Accounting actions for the resource group.",
"Actions": [
"microsoft.directory/organization/basic/update",
"microsoft.azure.serviceHealth/allEntities/allTasks",
"microsoft.azure.supportTickets/allEntities/allTasks",
"microsoft.commerce.billing/allEntities/allTasks",
"microsoft.office365.serviceHealth/allEntities/allTasks",
"microsoft.office365.supportTickets/allEntities/allTasks",
"microsoft.office365.webPortal/allEntities/standard/read"
],
"DataActions": [],
"NotDataActions": [],
"AssignableScopes": ["/subscriptions/88acbfa7-bbf5-441d-92e6-dddb8f5de649"]
}'
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: 40e649cf-40e3-1b9e-141a-c62d244eda61
* Version Independent ID: 78ea89c1-7c56-e33b-d10a-dae05642aa34
* Content: [az role definition](https://docs.microsoft.com/en-us/cli/azure/role/definition?view=azure-cli-latest#az_role_definition_create)
* Content Source: [latest/docs-ref-autogen/role/definition.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/role/definition.yml)
* Service: **azure-resource-manager**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**
Contributor guide
Assessment
This issue has not been assessed yet.