How do you resolve a Azure cloud shell session authorization error that suggests the Azure mobile client has been misconfigured to send incorrect HTTP request headers?

Ilias Karim 41 Reputation points
2023-10-27T11:14:06.0033333+00:00

When I try to use Cloud Shell on iOS 17.0.3 with Azure 5.10.0 I am presented with this error:

Failed to authorize session: 400

json

{"error":{"code":"BadRequest","message":"'content-type' should be 'application/json' or 'multipart/form-data'"}}

What needs to be done to resolve the error? This occurs for both bash as well as for PowerShell.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
40,318 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.