{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/6851","repository_url":"https://api.github.com/repos/Azure/azure-cli","labels_url":"https://api.github.com/repos/Azure/azure-cli/issues/6851/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/6851/comments","events_url":"https://api.github.com/repos/Azure/azure-cli/issues/6851/events","html_url":"https://github.com/Azure/azure-cli/issues/6851","id":343035967,"node_id":"MDU6SXNzdWUzNDMwMzU5Njc=","number":6851,"title":"Identity assign does not seem to work","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":[{"id":418936879,"node_id":"MDU6TGFiZWw0MTg5MzY4Nzk=","url":"https://api.github.com/repos/Azure/azure-cli/labels/Compute-cli","name":"Compute-cli","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-20T09:26:29Z","updated_at":"2018-07-20T21:13:08Z","closed_at":null,"author_association":"NONE","body":"$ az vm identity assign -g MyResourceGroup -n MyVm --role Reader \nusage error: '--role Reader' is not applicable as the '--scope' is not provided\n\nThis works: \n$ az vm identity assign -g MyResourceGroup -n MyVm \n{\n  \"systemAssignedIdentity\": \"80594eff-4edb-4599-8973-b29afcef251b\",\n  \"userAssignedIdentities\": []\n}\n\nThanks \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/406728404","html_url":"https://github.com/Azure/azure-cli/issues/6851#issuecomment-406728404","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/6851","id":406728404,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjcyODQwNA==","user":{"login":"yugangw-msft","id":6014209,"node_id":"MDQ6VXNlcjYwMTQyMDk=","avatar_url":"https://avatars1.githubusercontent.com/u/6014209?v=4","gravatar_id":"","url":"https://api.github.com/users/yugangw-msft","html_url":"https://github.com/yugangw-msft","followers_url":"https://api.github.com/users/yugangw-msft/followers","following_url":"https://api.github.com/users/yugangw-msft/following{/other_user}","gists_url":"https://api.github.com/users/yugangw-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/yugangw-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yugangw-msft/subscriptions","organizations_url":"https://api.github.com/users/yugangw-msft/orgs","repos_url":"https://api.github.com/users/yugangw-msft/repos","events_url":"https://api.github.com/users/yugangw-msft/events{/privacy}","received_events_url":"https://api.github.com/users/yugangw-msft/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T21:13:08Z","updated_at":"2018-07-20T21:13:08Z","author_association":"CONTRIBUTOR","body":"I see, doc issue, Thanks."}}
{"actor":{"display_login":"yugangw-msft"}}