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
The error response for cloud shell is different and needs to be handled differently to get the error message.
Currently for managed identity error response we only look at the top level for error message and error response. For cloud shell the error message is one level down in the json.
Sample error response from cloud shell when a wrong scope is passed.
Library version used
NA
.NET version
Net 6
Scenario
ManagedIdentityClient - managed identity
Is this a new or an existing app?
This is a new app or experiment
Issue description and reproduction steps
The error response for cloud shell is different and needs to be handled differently to get the error message.
Currently for managed identity error response we only look at the top level for error message and error response. For cloud shell the error message is one level down in the json.
Sample error response from cloud shell when a wrong scope is passed.
Relevant code snippets
No response
Expected behavior
No response
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
No response
Solution and workarounds
Look for the error message one level down in the json for cloud shell.
The text was updated successfully, but these errors were encountered: