You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Howdy Folks, this is something that drives me crazy too. I believe that #170 should address this. If not, I'll try to add something in. It's been on my mental backlog for a long time.
We are doing ARM calls with AAD service principal authorization
This could fail with authentication. Right now the returned error has information like below:
autorest#WithErrorUnlessStatusCode: POST https://login.microsoftonline.com/xxxxxxxxx/oauth2/token?api-version=1.0 failed with 400 Bad Request: StatusCode=400
autorest#WithErrorUnlessStatusCode: POST https://login.microsoftonline.com/xxxxxxxxx/oauth2/token?api-version=1.0 failed with 401 Unauthorized: StatusCode=401
However there are many reasons that Graph API can give you 400. Is it possible to expose the additional error code from the response?
The text was updated successfully, but these errors were encountered: