{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1735","labels_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1735/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1735/comments","events_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1735/events","html_url":"https://github.com/Azure/azure-xplat-cli/issues/1735","id":73261749,"number":1735,"title":"Windows 0.9.2:  [SyntaxError: Unexpected token '] when creating storage account after login with service principle.","user":{"login":"AbelHu","id":6416187,"avatar_url":"https://avatars.githubusercontent.com/u/6416187?v=3","gravatar_id":"","url":"https://api.github.com/users/AbelHu","html_url":"https://github.com/AbelHu","followers_url":"https://api.github.com/users/AbelHu/followers","following_url":"https://api.github.com/users/AbelHu/following{/other_user}","gists_url":"https://api.github.com/users/AbelHu/gists{/gist_id}","starred_url":"https://api.github.com/users/AbelHu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbelHu/subscriptions","organizations_url":"https://api.github.com/users/AbelHu/orgs","repos_url":"https://api.github.com/users/AbelHu/repos","events_url":"https://api.github.com/users/AbelHu/events{/privacy}","received_events_url":"https://api.github.com/users/AbelHu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/labels/Team","name":"Team","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-05T09:35:25Z","updated_at":"2015-05-06T03:37:37Z","closed_at":"2015-05-06T03:37:37Z","body":"OS: Windows 8.1 \r\n\r\nDownload Windows Installer from http://go.microsoft.com/?linkid=9828653&clcid=0x409 and install it.\r\n\r\nI type below command successfully.\r\nazure config mode arm\r\nazure login -u my_client_id -p my_client_secret --tenant my_tenant_id --service-principal --quiet\r\nazure group create bosh-rg-crp EastAsia\r\n\r\nBut when I create storage account with below command, it fails.\r\nazure resource create bosh-rg-crp -n boshcrp Microsoft.Storage/storageAccounts –o 2015-05-01-preview -p '{\"accountType\":\"Standard_LRS\"}'\r\n\r\nError:\r\nTue May 05 2015 17:27:41 GMT+0800 (China Standard Time):\r\n{ [SyntaxError: Unexpected token ']\r\n  stack: [Getter/Setter],\r\n  __frame: \r\n   { name: 'resource_createResource__3',\r\n     line: 72,\r\n     file: 'C:\\\\Program Files (x86)\\\\Microsoft SDKs\\\\Azure\\\\CLI\\\\lib\\\\commands\\\\arm\\\\resource\\\\resource.js',\r\n     prev: \r\n      { name: '__1',\r\n        line: 51,\r\n        file: 'C:\\\\Program Files (x86)\\\\Microsoft SDKs\\\\Azure\\\\CLI\\\\lib\\\\commands\\\\arm\\\\resource\\\\resource.js',\r\n        prev: undefined,\r\n        calls: 1,\r\n        active: false,\r\n        offset: 1,\r\n        col: 15 },\r\n     calls: 1,\r\n     active: true,\r\n     offset: 23,\r\n     col: 19 },\r\n  rawStack: [Getter] }\r\nSyntaxError: Unexpected token '\r\n  <<< async stack >>>\r\n  at resource_createResource__3 (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\lib\\commands\\arm\\resource\\resource.js:95:20)\r\n  at __1 (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\lib\\commands\\arm\\resource\\resource.js:52:16)\r\n  <<< raw stack >>>\r\n    at Object.parse (native)\r\n    at ___ (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\lib\\commands\\arm\\resource\\resource.js:103:29)\r\n    at ___ (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\node_modules\\streamline\\lib\\callbacks\\runtime.js:111:13)\r\n    at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\lib\\util\\interaction.js:134:16\r\n    at ___ (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\node_modules\\streamline\\lib\\callbacks\\runtime.js:111:13)\r\n    at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\lib\\commands\\arm\\group\\groupUtils.js:53:9\r\n    at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\node_modules\\azure\\node_modules\\azure-mgmt-resource\\lib\\resourceManagementClient.js:5197:16\r\n    at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\lib\\util\\utils.js:308:7\r\n    at handleRedirect (C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\lib\\util\\utils.js:285:9)\r\n    at C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\CLI\\lib\\util\\logging.js:244:7\r\n<!---@tfsbridge:{\"tfsId\":3875527}-->"},"comment":{"url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/comments/99311724","html_url":"https://github.com/Azure/azure-xplat-cli/issues/1735#issuecomment-99311724","issue_url":"https://api.github.com/repos/Azure/azure-xplat-cli/issues/1735","id":99311724,"user":{"login":"AbelHu","id":6416187,"avatar_url":"https://avatars.githubusercontent.com/u/6416187?v=3","gravatar_id":"","url":"https://api.github.com/users/AbelHu","html_url":"https://github.com/AbelHu","followers_url":"https://api.github.com/users/AbelHu/followers","following_url":"https://api.github.com/users/AbelHu/following{/other_user}","gists_url":"https://api.github.com/users/AbelHu/gists{/gist_id}","starred_url":"https://api.github.com/users/AbelHu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AbelHu/subscriptions","organizations_url":"https://api.github.com/users/AbelHu/orgs","repos_url":"https://api.github.com/users/AbelHu/repos","events_url":"https://api.github.com/users/AbelHu/events{/privacy}","received_events_url":"https://api.github.com/users/AbelHu/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T03:37:37Z","updated_at":"2015-05-06T03:37:37Z","body":"Thanks. You are right. That is the difference between Linux commands and Windows commands."}}