I am trying to create a virtual machine on azure portal using REST API. I am following the standard documentation from Microsoft. But Every time I post the request on the server, server replied with error-:The request did not have a provided subscription. All requests must have an associated subscription Id . I know that it can not be the problem because i am explicitly providing the subscription Id in the url. I even verified that by printing the url.
I don't know the cause or solution of the problem.
Please suggest some solution.
Thanks in advance.