none
Access the virtual Network list using Windows azure REST API RRS feed

  • Question

  • I want to access the virtual Network list using Windows azure REST API and subscription id in this url
    https://example.core.com:30005/<subscription-id>/services/networking/virtualnetwork
    but i did not get any response from this service request. Please let me know if there is another way to access the virtual networks with their full details or there is any wrong parameter in above url.
    Wednesday, March 5, 2014 7:35 AM

Answers

  • Hi,

    Do you mean list Virtual Network Sites? If that, please refer to http://msdn.microsoft.com/en-us/library/windowsazure/jj157185.aspx for more details, in this article, we also see the response body.

    Hope this helps


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, March 6, 2014 2:37 AM
    Moderator
  • Hi,

    Sorry for my delay.

    I try to use rest API to list Virtual Network Sites in my local, it works fine, and returns request body the same as the link that was provided in my first post. The request body contains all networks that were listed in manage portal.

    From your error message “the subscription is not allowed to access the resource provider”, I suggest you check your token, make sure your http request was certified.

    Best Regards


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, March 13, 2014 6:44 AM
    Moderator

All replies

  • Hi,

    Do you mean list Virtual Network Sites? If that, please refer to http://msdn.microsoft.com/en-us/library/windowsazure/jj157185.aspx for more details, in this article, we also see the response body.

    Hope this helps


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, March 6, 2014 2:37 AM
    Moderator
  • Thanks Jambor for replying.

    I have windows Azure pack setup in my lab on windows server 2012 along with System center and VMM.

    I'm succeeded in registering the user to azure using service management api and subscribed the user to the plan using service management api. Now in the above mentioned wizard steps I have to show virtual networks available for that subscribed plan. So I used the below URL 

    https://example.core.com:30005/<subscription-id>/services/networking/virtualnetwork

    I passed the user plan subscription Id in the url and passed the following in the header: Token, Principal id and Content type 

    I get the following Response:
    http://screencast.com/t/G3ppDllWskM


    Can you please tell me what wrong I'm doing. I'm stuck here.

    I will really appreciate for the help


    Thanks
    Thursday, March 6, 2014 2:13 PM
  • Hi,

    Sorry for my delay.

    I try to use rest API to list Virtual Network Sites in my local, it works fine, and returns request body the same as the link that was provided in my first post. The request body contains all networks that were listed in manage portal.

    From your error message “the subscription is not allowed to access the resource provider”, I suggest you check your token, make sure your http request was certified.

    Best Regards


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, March 13, 2014 6:44 AM
    Moderator
  • We are also received this exception through using the Ruby SDK against the WAP Tenant API (:30006). Management certificates are imported into Azure and the API returns a 403 ResourceProviderNotRegisteredForSubscription. 

    Downloading the publishsettings file and using that with the SDK does not seem to work either, resulting in the same error. Powershell commands don't give much of a debug. 

    This error doesn't seem to be documented anywhere in the WAP documentation, so it's a worry why it's returning it.

    BPA with Azure returns no Errors.
    • Edited by JacobEvans Friday, May 23, 2014 3:23 AM
    Tuesday, May 6, 2014 5:51 AM
  • Did you ever solve it?
    Sunday, March 25, 2018 4:27 PM