{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/6859","repository_url":"https://api.github.com/repos/Azure/azure-cli","labels_url":"https://api.github.com/repos/Azure/azure-cli/issues/6859/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/6859/comments","events_url":"https://api.github.com/repos/Azure/azure-cli/issues/6859/events","html_url":"https://github.com/Azure/azure-cli/issues/6859","id":343248201,"node_id":"MDU6SXNzdWUzNDMyNDgyMDE=","number":6859,"title":"Command not working","user":{"login":"mariojacobo","id":9945728,"node_id":"MDQ6VXNlcjk5NDU3Mjg=","avatar_url":"https://avatars0.githubusercontent.com/u/9945728?v=4","gravatar_id":"","url":"https://api.github.com/users/mariojacobo","html_url":"https://github.com/mariojacobo","followers_url":"https://api.github.com/users/mariojacobo/followers","following_url":"https://api.github.com/users/mariojacobo/following{/other_user}","gists_url":"https://api.github.com/users/mariojacobo/gists{/gist_id}","starred_url":"https://api.github.com/users/mariojacobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariojacobo/subscriptions","organizations_url":"https://api.github.com/users/mariojacobo/orgs","repos_url":"https://api.github.com/users/mariojacobo/repos","events_url":"https://api.github.com/users/mariojacobo/events{/privacy}","received_events_url":"https://api.github.com/users/mariojacobo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-20T21:09:31Z","updated_at":"2018-07-20T21:56:32Z","closed_at":"2018-07-20T21:56:32Z","author_association":"NONE","body":"Your tutorial literally says to run the command as follows: \n\n$ az vm identity assign -g MyResourceGroup -n MyVm --role Reader\nusage error: '--role Reader' is not applicable as the '--scope' is not provided\n\nAs you can see, the command you literally specify gives an error. Below is what works, so please fix the documentation instead of closing the bug and offering some nonsense feedback !!\n\nThis works:\n$ az vm identity assign -g MyResourceGroup -n MyVm\n{\n\"systemAssignedIdentity\": \"80594eff-4edb-4599-8973-b29afcef251b\",\n\"userAssignedIdentities\": []\n}\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: de241c0d-7295-bf01-a431-3c94a02c099b\n* Version Independent ID: 780195c5-fc93-ee0d-e5e5-8f62f4dee6ee\n* Content: [az vm identity](https://docs.microsoft.com/en-us/cli/azure/vm/identity?view=azure-cli-latest#az-vm-identity-assign)\n* Content Source: [src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py](https://github.com/Azure/azure-cli/blob/master/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py)\n* Service: **virtual-machines**\n* GitHub Login: @rloutlaw\n* Microsoft Alias: **routlaw**"},"comment":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/comments/406736897","html_url":"https://github.com/Azure/azure-cli/issues/6859#issuecomment-406736897","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/6859","id":406736897,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjczNjg5Nw==","user":{"login":"tjprescott","id":5723682,"node_id":"MDQ6VXNlcjU3MjM2ODI=","avatar_url":"https://avatars2.githubusercontent.com/u/5723682?v=4","gravatar_id":"","url":"https://api.github.com/users/tjprescott","html_url":"https://github.com/tjprescott","followers_url":"https://api.github.com/users/tjprescott/followers","following_url":"https://api.github.com/users/tjprescott/following{/other_user}","gists_url":"https://api.github.com/users/tjprescott/gists{/gist_id}","starred_url":"https://api.github.com/users/tjprescott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjprescott/subscriptions","organizations_url":"https://api.github.com/users/tjprescott/orgs","repos_url":"https://api.github.com/users/tjprescott/repos","events_url":"https://api.github.com/users/tjprescott/events{/privacy}","received_events_url":"https://api.github.com/users/tjprescott/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T21:56:32Z","updated_at":"2018-07-20T21:56:32Z","author_association":"MEMBER","body":"This is a dupe. The original issue was reopened. We'll track on that one."}}
{"actor":{"display_login":"tjprescott"}}