Skip to content

Instantly share code, notes, and snippets.

@averkinderen
Last active September 11, 2017 00:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save averkinderen/af43d9e4c5d434356c8a0d3d99c3cdbd to your computer and use it in GitHub Desktop.
Save averkinderen/af43d9e4c5d434356c8a0d3d99c3cdbd to your computer and use it in GitHub Desktop.
Create a custom Azure Limited Admin custom role
{
"Name": "Limited Admin",
"Id": null,
"IsCustom": true,
"Description": "Can do anything except changing permissions and network settings.",
"Actions": [
"*"
],
"NotActions": [
"Microsoft.Network/virtualNetworks/write",
"Microsoft.Network/virtualNetworks/delete",
"Microsoft.Network/virtualNetworks/subnets/write",
"Microsoft.Network/virtualNetworks/virtualNetworkPeerings/write",
"Microsoft.Network/virtualNetworks/virtualNetworkPeerings/delete",
"Microsoft.Network/expressRouteCircuits/write",
"Microsoft.ClassicNetwork/*",
"Microsoft.Network/virtualnetworkgateways/write",
"Microsoft.Network/expressRouteCircuits/peerings/write",
"Microsoft.Network/expressRouteCircuits/peerings/delete",
"Microsoft.Network/LocalNetworkGateways/write",
"Microsoft.Network/LocalNetworkGateways/delete",
"Microsoft.Network/routeTables/write",
"Microsoft.Network/routeTables/delete",
"Microsoft.Network/routeTables/routes/write",
"Microsoft.Network/routeTables/routes/delete",
"Microsoft.Network/connections/write",
"Microsoft.Network/connections/delete",
"Microsoft.Authorization/*/Delete",
"Microsoft.Authorization/*/Write",
"Microsoft.Authorization/classicAdministrators/*/Delete",
"Microsoft.Authorization/classicAdministrators/*/Write",
],
"AssignableScopes": [
"/subscriptions/18959d84-xxxx-xxxx-xx-2aab5400a11e",
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment