Azure Management REST API - "Authentication failed. Authorization header provided in invalid format."

I am desperate to move 2 classic vault accounts from my old MSDN subscription to my MPN subscription, and I continue to encounter a brick wall, since the transition is only supported through the REST API.

I have included the API following the instructions here.

https://azure.microsoft.com/en-us/documentation/articles/resource-group-move-resources/

and here...

https://msdn.microsoft.com/en-us/library/azure/dn776326.aspx

but I was completely confused. I created a POST request, as suggested to check the status as the first call in the "move resources" instructions ...

POST https://management.azure.com/subscriptions/ {subscriptionId} /providers/Microsoft.ClassicCompute/validateSubscriptionMoveAvailability

(with replacement of subscription by ID for each) and transfer of the corresponding source / target body.

I also provided the authorization header as follows:

Authorization: {key generated by the azure portal}

Completely lost. I tried using both Fiddler and Postman. PowerShell is not an option for me, because I don’t know this at all. I just want to move 2 elements, and so far only using these management APIs has cost me more than £ 15, and my website is on the verge of falling, since my credit will expire soon.

Any help would be most appreciated.

+4

Source: https://habr.com/ru/post/1656540/


All Articles