{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/packer/issues/5610","repository_url":"https://api.github.com/repos/hashicorp/packer","labels_url":"https://api.github.com/repos/hashicorp/packer/issues/5610/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/packer/issues/5610/comments","events_url":"https://api.github.com/repos/hashicorp/packer/issues/5610/events","html_url":"https://github.com/hashicorp/packer/issues/5610","id":275480502,"node_id":"MDU6SXNzdWUyNzU0ODA1MDI=","number":5610,"title":"`azure-arm` builder \"fails\" to find your desired resource group when your service principal credentials are incorrect","user":{"login":"carlosonunez","id":13461447,"node_id":"MDQ6VXNlcjEzNDYxNDQ3","avatar_url":"https://avatars1.githubusercontent.com/u/13461447?v=4","gravatar_id":"","url":"https://api.github.com/users/carlosonunez","html_url":"https://github.com/carlosonunez","followers_url":"https://api.github.com/users/carlosonunez/followers","following_url":"https://api.github.com/users/carlosonunez/following{/other_user}","gists_url":"https://api.github.com/users/carlosonunez/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosonunez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosonunez/subscriptions","organizations_url":"https://api.github.com/users/carlosonunez/orgs","repos_url":"https://api.github.com/users/carlosonunez/repos","events_url":"https://api.github.com/users/carlosonunez/events{/privacy}","received_events_url":"https://api.github.com/users/carlosonunez/received_events","type":"User","site_admin":false},"labels":[{"id":33051538,"node_id":"MDU6TGFiZWwzMzA1MTUzOA==","url":"https://api.github.com/repos/hashicorp/packer/labels/bug","name":"bug","color":"f7c6c7","default":true},{"id":348325176,"node_id":"MDU6TGFiZWwzNDgzMjUxNzY=","url":"https://api.github.com/repos/hashicorp/packer/labels/builder/azure","name":"builder/azure","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-20T20:02:29Z","updated_at":"2018-06-26T17:22:30Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Summary\r\n=======\r\n\r\n**Given** an `azure-arm` builder and a Packer template consumer,\r\n**When** I run `packer build` but provide an invalid `client_id`/`client_secret` pair,\r\n**Then** `azure-arm` tells me that it cannot find the resource group instead of telling me that my credentials are incorrect.\r\n\r\nBug Details\r\n========\r\n\r\n- **Packer version from `packer version`**:  1.1.2\r\n- **Host platform**: Alpine 3.6.2\r\n- **Debug log output and template**: https://gist.github.com/carlosonunez/3627fed4fba82cd9f97df858672f511d\r\n\r\nActual and expected output are included in the Gist sample above.\r\n  \r\nAdditional Context\r\n=============\r\n\r\nThis was verified by running Charles and dropping into packet contents. See [this](https://contino.slack.com/files/U5D038J2F/F8386KC66/troubleshooting_azure_arm_packer_builder.md) Gist for instructions, if needed."},"comment":{"url":"https://api.github.com/repos/hashicorp/packer/issues/comments/400396072","html_url":"https://github.com/hashicorp/packer/issues/5610#issuecomment-400396072","issue_url":"https://api.github.com/repos/hashicorp/packer/issues/5610","id":400396072,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDM5NjA3Mg==","user":{"login":"SwampDragons","id":1008838,"node_id":"MDQ6VXNlcjEwMDg4Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/1008838?v=4","gravatar_id":"","url":"https://api.github.com/users/SwampDragons","html_url":"https://github.com/SwampDragons","followers_url":"https://api.github.com/users/SwampDragons/followers","following_url":"https://api.github.com/users/SwampDragons/following{/other_user}","gists_url":"https://api.github.com/users/SwampDragons/gists{/gist_id}","starred_url":"https://api.github.com/users/SwampDragons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwampDragons/subscriptions","organizations_url":"https://api.github.com/users/SwampDragons/orgs","repos_url":"https://api.github.com/users/SwampDragons/repos","events_url":"https://api.github.com/users/SwampDragons/events{/privacy}","received_events_url":"https://api.github.com/users/SwampDragons/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T17:22:30Z","updated_at":"2018-06-26T17:22:30Z","author_association":"CONTRIBUTOR","body":"@boumenot does this seem like a packer bug to you or us just passing through a not-useful API error response?"}}
{"actor":{"display_login":"SwampDragons"}}