Hi,
I'm using Microsoft Azure's xplat-cli found to create my CoreOS vm, but it fails during the command progress.
Input
azure vm create --vm-size=ExtraSmall --ssh=22 --ssh-cert=mycertificate.pem --no-ssh-password --vm-name=MY-VMNAME --virtual-network-name="MY-VNET" -b 10.123.123.0/24 MY-VMNAME 2b171e93f07c4903bcad35bda10acf22__CoreOS-Stable-494.5.0 core --custom-data=cloud-config.yaml
Output
info: Executing command vm create
+ Looking up image 2b171e93f07c4903bcad35bda10acf22__CoreOS-Stable-494.5.0
+ Looking up virtual network
+ Looking up cloud service
warn: --location option will be ignored
+ Getting cloud service properties
+ Looking up deployment
+ Retrieving storage accounts
+ Creating a new storage account 'voidcore31418920481546'
error: Unable to retrieve storage account
error: Error: The AccountType property must be specified.
info: Error information has been recorded to azure.err
error: vm create command failed
Azure.err
PS D:\Temp> cat .\azure.err
[Error: Error: The AccountType property must be specified.]
Error: Error: The AccountType property must be specified.
at C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\lib\commands\asm\vm\vmclient.js:3230:32
at C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\lib\commands\asm\vm\vmclient.js:4221:18
at C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\lib\util\blobUtils.js:78:13
at callback_ (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\lib\util\utils.js:262:5)
at C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\lib\util\utils.js:285:9
at C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\node_modules\azure\node_modules\azure-mgmt-storage\lib\storageMa
nagementClient.js:606:16
at C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\node_modules\azure\node_modules\azure-mgmt-storage\lib\storageMa
nagementClient.js:421:16
at handleRedirect (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\lib\util\utils.js:145:9)
at C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\lib\util\logging.js:244:7
at handleRedirect (C:\Program Files (x86)\Microsoft SDKs\Azure\CLI\node_modules\azure-common\lib\services\filters\r
edirectfilter.js:36:9)
Thanks!