Skip to content

Instantly share code, notes, and snippets.

@nrb
Created March 2, 2018 18:43
Show Gist options
  • Select an option

  • Save nrb/07913cdfc7c7ee7cc013ee7349dd721e to your computer and use it in GitHub Desktop.

Select an option

Save nrb/07913cdfc7c7ee7cc013ee7349dd721e to your computer and use it in GitHub Desktop.
x1c in /home/nrb/go/src/github.com/heptio/ark (git) ncdc-remove-azure-location-requirement U
% az ad sp create-for-rbac --name "heptio-ark" --role "Contributor" --query 'password' -o tsv
Role assignment creation failed.
role assignment response headers: {'Content-Length': '296', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains', 'x-ms-failure-cause': 'gateway', 'X-Content-Type-Options': 'nosniff', 'x-ms-request-id': '591626cd-0aad-4b74-888b-5b61fac286ac', 'Expires': '-1', 'x-ms-correlation-request-id': '591626cd-0aad-4b74-888b-5b61fac286ac', 'Connection': 'close', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'Date': 'Fri, 02 Mar 2018 18:43:17 GMT', 'x-ms-routing-request-id': 'NORTHCENTRALUS:20180302T184317Z:591626cd-0aad-4b74-888b-5b61fac286ac', 'Content-Type': 'application/json; charset=utf-8'}
The client 'nolan@heptio.com' with object id '82d2d30d-8918-42d9-8432-2bc3739b0d17' does not have authorization to perform action 'Microsoft.Authorization/roleAssignments/write' over scope '/subscriptions/811f3c64-1e23-4a93-b818-f1b5ff1fc798'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment