I'm getting the error from the title when attempting to deploy a VM. I'm using the .NET library. My code pretty much follows the MSDN article "Get Started with the Management Libraries for .NET" (which seems to have many flaws, as it does not work verbatim).
Deviations from that tutorial are:
- The method of AD auth described in the tutorial doesn't work ("the request body must contain the following parameter: 'client_secret or client_assertion'."), so I used certificate-based auth.
- The data center used in the tutorial apparently doesn't work for accounts on the free credit, so I'm using east Asia (for everything).
- For simplicity, I've created the storage account and service through the portal and am creating just the VM programmatically (eventually it'd all be made programmatically). I've tested making the service programmatically and that works fine. Although the storage account can't seem to be done ("the 'Authorization' header is not present or provided in an invalid format").
As an aside, wh