I\'m currently using this template to create a vm by custom image. For the OS Disk part:
\"storageProfile\": {
\"osDisk\": {
\"name\": \"[concat(variab
I don't know how other answers are upvoted. OP post is correct - custom image and VM os disk needs to be in the same storage account which is a great limitation. Just tried that using the API and I'm getting:
"MsRestAzure::AzureOperationError: ConflictingUserInput: Source and destination storage accounts for disk test-terminate are different."