Gateway Timeout error and temporary outages
A GatewayTimeout error when attempting to use the Azure Cloud Shell can indicate a temporary disruption in service on our end that should be resolved quickly (within a day if not much sooner):
Error Message: Failed to provision a Cloud Shell: {"code":"GatewayTimeout","message":"The gateway did not receive a response from 'Microsoft.Portal' within the specified time period."}
Check for an outage
You can check to see if there is a known outage using the Azure Status page. Azure Cloud Shell is listed under "Management and Governance" (and since it has dependencies on storage and the portal, it's a good idea to check those as well):
https://status.azure.com/en-us/status
Quick troubleshooting - Restart the Cloud Shell
One of the quickest and easiest troubleshooting steps is to click on the power button to restart the Azure Cloud Shell. This will give you a fresh instance and will resolve many temporary issues:
Still having issues?
If you're still having trouble, be sure to go through the Azure Cloud Shell troubleshooting guide in the documentation to see if there is an issue that you are able to resolve yourself (including a known Firefox issue):
https://learn.microsoft.com/en-us/azure/cloud-shell/troubleshooting
If it looks like an issue on our end, you can create a support ticket to alert us to the disruption in service.