Reputation: 9568
I'm trying to create a new Windows VM using Windows Azure REST API. But, I keep getting the following error:
BadRequest: An administrator password must be specified
But, the REST call XML body does include:
<AdminPassword>SomePassword123</AdminPassword>
<AdminUsername>guyk</AdminUsername>
Any clue where should I start looking?
Upvotes: 1
Views: 227
Reputation: 9568
The error was caused by a missing "type" attribute in the ConfigurationSet
<ConfigurationSet xsi:type="WindowsProvisioningConfigurationSet">
Upvotes: 1