{"action":"closed","issue":{"url":"https://api.github.com/repos/hashicorp/packer/issues/6169","repository_url":"https://api.github.com/repos/hashicorp/packer","labels_url":"https://api.github.com/repos/hashicorp/packer/issues/6169/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/packer/issues/6169/comments","events_url":"https://api.github.com/repos/hashicorp/packer/issues/6169/events","html_url":"https://github.com/hashicorp/packer/issues/6169","id":316314248,"number":6169,"title":"azure-arm: elevated_user and elevated_password with powershell get \"user name or password is incorrect\"","user":{"login":"r3dlin3","id":8676211,"avatar_url":"https://avatars3.githubusercontent.com/u/8676211?v=4","gravatar_id":"","url":"https://api.github.com/users/r3dlin3","html_url":"https://github.com/r3dlin3","followers_url":"https://api.github.com/users/r3dlin3/followers","following_url":"https://api.github.com/users/r3dlin3/following{/other_user}","gists_url":"https://api.github.com/users/r3dlin3/gists{/gist_id}","starred_url":"https://api.github.com/users/r3dlin3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r3dlin3/subscriptions","organizations_url":"https://api.github.com/users/r3dlin3/orgs","repos_url":"https://api.github.com/users/r3dlin3/repos","events_url":"https://api.github.com/users/r3dlin3/events{/privacy}","received_events_url":"https://api.github.com/users/r3dlin3/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-20T15:33:02Z","updated_at":"2018-04-20T18:32:10Z","closed_at":"2018-04-20T18:32:10Z","author_association":"NONE","body":"\r\n- Packer v1.2.2\r\n- Host platform: Windows\r\n\r\nI cannot have an elevated session with powershell\r\nI have tested 2 scenarios:\r\n1. Setting the password in the communicator (\"winrm_password\": \"...\") and reusing this value in elevated_password \r\n2. Using the variable {{.WinRMPassword}}\r\n\r\nNone are working.\r\nNote: I had to \"ctrl-c\" packer otherwise it was hanging\r\n\r\nin the gist ( https://gist.github.com/r3dlin3/4af4a45d1cf62e19e51fa3a2550d63e7 ):\r\n- The 2 packer file (scenario 1 or 2)\r\n- The silly powershell script \r\n- The logs for scenario 1 (the error is the same in the \r\n"}}
{"actor":{"display_login":"SwampDragons"}}