payload: {"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/10017","repository_url":"https://api.github.com/repos/Azure/azure-cli","labels_url":"https://api.github.com/repos/Azure/azure-cli/issues/10017/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-cli/issues/10017/comments","events_url":"https://api.github.com/repos/Azure/azure-cli/issues/10017/events","html_url":"https://github.com/Azure/azure-cli/issues/10017","id":471818986,"node_id":"MDU6SXNzdWU0NzE4MTg5ODY=","number":10017,"title":"The vm should be connectable after az vm start process has finished","user":{"login":"Lelelo1","id":42244983,"node_id":"MDQ6VXNlcjQyMjQ0OTgz","avatar_url":"https://avatars3.githubusercontent.com/u/42244983?v=4","gravatar_id":"","url":"https://api.github.com/users/Lelelo1","html_url":"https://github.com/Lelelo1","followers_url":"https://api.github.com/users/Lelelo1/followers","following_url":"https://api.github.com/users/Lelelo1/following{/other_user}","gists_url":"https://api.github.com/users/Lelelo1/gists{/gist_id}","starred_url":"https://api.github.com/users/Lelelo1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lelelo1/subscriptions","organizations_url":"https://api.github.com/users/Lelelo1/orgs","repos_url":"https://api.github.com/users/Lelelo1/repos","events_url":"https://api.github.com/users/Lelelo1/events{/privacy}","received_events_url":"https://api.github.com/users/Lelelo1/received_events","type":"User","site_admin":false},"labels":[{"id":1069329925,"node_id":"MDU6TGFiZWwxMDY5MzI5OTI1","url":"https://api.github.com/repos/Azure/azure-cli/labels/Compute%20-%20VM","name":"Compute - VM","color":"e99695","default":false,"description":"az vm"},{"id":1552926864,"node_id":"MDU6TGFiZWwxNTUyOTI2ODY0","url":"https://api.github.com/repos/Azure/azure-cli/labels/FeatureTriage","name":"FeatureTriage","color":"abfcb1","default":false,"description":"Features to consider adding a concrete milestone to"}],"state":"open","locked":false,"assignee":{"login":"qwordy","id":5019528,"node_id":"MDQ6VXNlcjUwMTk1Mjg=","avatar_url":"https://avatars0.githubusercontent.com/u/5019528?v=4","gravatar_id":"","url":"https://api.github.com/users/qwordy","html_url":"https://github.com/qwordy","followers_url":"https://api.github.com/users/qwordy/followers","following_url":"https://api.github.com/users/qwordy/following{/other_user}","gists_url":"https://api.github.com/users/qwordy/gists{/gist_id}","starred_url":"https://api.github.com/users/qwordy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qwordy/subscriptions","organizations_url":"https://api.github.com/users/qwordy/orgs","repos_url":"https://api.github.com/users/qwordy/repos","events_url":"https://api.github.com/users/qwordy/events{/privacy}","received_events_url":"https://api.github.com/users/qwordy/received_events","type":"User","site_admin":false},"assignees":[{"login":"qwordy","id":5019528,"node_id":"MDQ6VXNlcjUwMTk1Mjg=","avatar_url":"https://avatars0.githubusercontent.com/u/5019528?v=4","gravatar_id":"","url":"https://api.github.com/users/qwordy","html_url":"https://github.com/qwordy","followers_url":"https://api.github.com/users/qwordy/followers","following_url":"https://api.github.com/users/qwordy/following{/other_user}","gists_url":"https://api.github.com/users/qwordy/gists{/gist_id}","starred_url":"https://api.github.com/users/qwordy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qwordy/subscriptions","organizations_url":"https://api.github.com/users/qwordy/orgs","repos_url":"https://api.github.com/users/qwordy/repos","events_url":"https://api.github.com/users/qwordy/events{/privacy}","received_events_url":"https://api.github.com/users/qwordy/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Azure/azure-cli/milestones/81","html_url":"https://github.com/Azure/azure-cli/milestone/81","labels_url":"https://api.github.com/repos/Azure/azure-cli/milestones/81/labels","id":4808323,"node_id":"MDk6TWlsZXN0b25lNDgwODMyMw==","number":81,"title":"S164","description":"POC: @bim-msft Code complete: 01/22/2020 Build to Cloud Shell: 01/24/2020 Official Release: 01/28/2020","creator":{"login":"yonzhan","id":54048360,"node_id":"MDQ6VXNlcjU0MDQ4MzYw","avatar_url":"https://avatars3.githubusercontent.com/u/54048360?v=4","gravatar_id":"","url":"https://api.github.com/users/yonzhan","html_url":"https://github.com/yonzhan","followers_url":"https://api.github.com/users/yonzhan/followers","following_url":"https://api.github.com/users/yonzhan/following{/other_user}","gists_url":"https://api.github.com/users/yonzhan/gists{/gist_id}","starred_url":"https://api.github.com/users/yonzhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonzhan/subscriptions","organizations_url":"https://api.github.com/users/yonzhan/orgs","repos_url":"https://api.github.com/users/yonzhan/repos","events_url":"https://api.github.com/users/yonzhan/events{/privacy}","received_events_url":"https://api.github.com/users/yonzhan/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2019-11-02T12:53:39Z","updated_at":"2019-12-08T10:38:45Z","due_on":"2020-01-22T08:00:00Z","closed_at":null},"comments":1,"created_at":"2019-07-23T17:05:14Z","updated_at":"2019-12-08T10:38:59Z","closed_at":null,"author_association":"NONE","body":"**Is your feature request related to a problem? Please describe.**\r\n\r\n**Yes:** When creating a script that `az vm start` - and then proceeds with connecting to the vm with rdp and `Microsoft Remote Desktop` - **the vm is not ready**. This occurs even though the script is waiting for the `az vm start` process to finish first. The vm is not ready to be connected to and `Microsoft Remote Desktop` displays the following error message: \r\n> We couldn't connect to the remote PC. Make sure the PC is turned on and connected to the network, and that remote access is enabled.\r\nError code: 0x204\r\n\r\n**Describe the solution you'd like**\r\nFollowing the `az vm start` process - the vm should be connectable.\r\n\r\n**Describe alternatives you've considered**\r\nI have considered polling connection - or polling certain view information properties given from `az vm get-instance-view`. Or using a timeout. But these alternatives are not ideal.\r\n\r\n**Additional context**\r\nI have tried to `az vm wait --update` following the `az vm start` - but it won't wait longer, so the vm is still not ready to be connected to when the `az vm start` process is finished.\r\n\r\n*My goal is to run a script that start vm and succesfully launches my vm with `Microsoft Remote Desktop`. Also, **note** that the connection problem is due to the vm not being ready - since it can be connected to 5 -20 secs after `az vm start`*. "},"comment":{"url":"https://api.github.com/repos/Azure/azure-cli/issues/comments/562933020","html_url":"https://github.com/Azure/azure-cli/issues/10017#issuecomment-562933020","issue_url":"https://api.github.com/repos/Azure/azure-cli/issues/10017","id":562933020,"node_id":"MDEyOklzc3VlQ29tbWVudDU2MjkzMzAyMA==","user":{"login":"yonzhan","id":54048360,"node_id":"MDQ6VXNlcjU0MDQ4MzYw","avatar_url":"https://avatars3.githubusercontent.com/u/54048360?v=4","gravatar_id":"","url":"https://api.github.com/users/yonzhan","html_url":"https://github.com/yonzhan","followers_url":"https://api.github.com/users/yonzhan/followers","following_url":"https://api.github.com/users/yonzhan/following{/other_user}","gists_url":"https://api.github.com/users/yonzhan/gists{/gist_id}","starred_url":"https://api.github.com/users/yonzhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonzhan/subscriptions","organizations_url":"https://api.github.com/users/yonzhan/orgs","repos_url":"https://api.github.com/users/yonzhan/repos","events_url":"https://api.github.com/users/yonzhan/events{/privacy}","received_events_url":"https://api.github.com/users/yonzhan/received_events","type":"User","site_admin":false},"created_at":"2019-12-08T10:38:59Z","updated_at":"2019-12-08T10:38:59Z","author_association":"CONTRIBUTOR","body":"add to S164."}}
other: {"actor":{"display_login":"yonzhan"}}