I've been working through some of the Azure learning exercises, using a learning subscription. (https://learn.microsoft.com/en-gb/learn/modules/optimize-your-web-apps-with-redis/6-exercise-connect-an-app-to-the-cache?pivots=csharp) I'd run into a brick wall with some msbuild issues (possibly related to switching .net core versions?? Whatever...) After trying various options to fix these issues, I concluded that it would be interesting to try to start from a clean system.
First I threw away the shell, closed the browsers, then returned and let the system create a new sandbox for me (one of my 10 per day). I'd hoped that would be enough, but my problems persisted so I figured... delete everything... went into the portal and deleted the resource for the cloudshell (not sure exactly what the item type was but it had cloudshell in the name).
I'm assuming this was the storage, because now when I go back in to the tutorial it creates a shell but says there's no storage and then 403s when trying to create the storage. Like this:
{"error":{"code":"AuthorizationFailed","message":"The client 'live.com#dominiccronin@Karima ben .com' with object id 'eceafdd2-301b-45aa-8eac-0d2b18661f6e' does not have authorization to perform action 'Microsoft.Resources/subscriptions/resourcegroups/read' over scope '/subscriptions/3dea82b3-b58e-4478-a9c9-ee2d973577a8/resourcegroups/cloud-shell-storage-northeurope' or the scope is invalid. If access was recently granted, please refresh your credentials."}}
Can't create a storage account. Please try again.
Since contacting support and being advised to create a question here, the issue seems to have resolved itself. I'm completing this now so that you have the information in case it's useful for you. As far as I know, I don't need any further help, so please feel free to treat this question as for your information only.
Thanks
Dominic