I'm trying to test the Art of the possible with the Azure REST API and I've stumbled upon an odd issue
I can't list applications, this is actually important for us as we're trying to automate some of this.
https://docs.microsoft.com/en-us/rest/api/graphrbac/applications/list
If I try with the "Try It" Link, I get a 401 error.
{
"odata.error": {
"code": "Authentication_MissingOrMalformed",
"message": {
"lang": "en",
"value": "Access Token missing or malformed."
},
"requestId": "a9758d8f-194f-4089-afd9-4b1d3ffb21d7",
"date": "2018-10-25T18:22:46"
}
}
The request does have a bearer token, I can see it using Fiddler.
If I try to list say, Web Apps, this works fine
https://docs.microsoft.com/en-us/rest/api/appservice/webapps/list
For the record, the user is a global administrator
Any ideas?
TIA