azure subscription count zero from api -


i trying users subscription using users access token. after create users cdn profile azure , adding endpoint created cdn under users subscription.

after getting access token user account https://login.microsoftonline.com , tried total subscriptions of user (https://management.azure.com/subscriptions?api-version=2015-11-01), api returns me no subscription records. in azure account see subscriptions under user account after login.

please need help.

according description, assume may have multiple tenants. seems there no subcription in tenant try access token. please have try use tenant has subscription. check tenant azure portal, more details please refer screenshot.

enter image description here

we test easily, try authorization azure portal, more details please refer use authorization code request access token.

enter image description here

and test fiddler, works correctly.

enter image description here


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -