{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2486","repository_url":"https://api.github.com/repos/Azure/azure-xplat-cli","labels_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2486/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2486/comments","events_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/2486/events","html_url":"https://github.com/Azure/azure-xplat-cli/issues/2486","id":129610444,"number":2486,"title":"Azure CLI json output only a subset of ARM REST endpoint return json","user":{"login":"polarapfel","id":36647,"avatar_url":"https://avatars.githubusercontent.com/u/36647?v=3","gravatar_id":"","url":"https://api.github.com/users/polarapfel","html_url":"https://github.com/polarapfel","followers_url":"https://api.github.com/users/polarapfel/followers","following_url":"https://api.github.com/users/polarapfel/following{/other_user}","gists_url":"https://api.github.com/users/polarapfel/gists{/gist_id}","starred_url":"https://api.github.com/users/polarapfel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polarapfel/subscriptions","organizations_url":"https://api.github.com/users/polarapfel/orgs","repos_url":"https://api.github.com/users/polarapfel/repos","events_url":"https://api.github.com/users/polarapfel/events{/privacy}","received_events_url":"https://api.github.com/users/polarapfel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/ARM","name":"ARM","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-28T22:55:09Z","updated_at":"2016-02-16T02:57:31Z","closed_at":"2016-02-16T02:57:31Z","body":"Hi there,\r\n\r\nI noticed that Azure CLI is not passing through the ARM REST API return json when running with the --json parameter. For example, when creating template deployments, the json output written by Azure CLI does not show the correlationId even though I can see it in the debug output (-vv parameter).\r\n\r\nCan you please pass through the unfiltered ARM REST json return object? Or at least add things like the correlationId to your rewritten json output? This is important as without the correlationId, it's difficult to map a specific template deployment action to the correlated entries in the audit logs.\r\n\r\nThanks,\r\n\r\nTobias W.\n<!---@tfsbridge:{\"tfsId\":5675157}-->"}}