Microsoft.CloudShell Namespace Registration issue in Azure Cloud Shell - Started This Afternoon for No Reason.
Describe the bug
Azure Cloud Shell shows this message on every login:
Storage fileshare subscription subscription ID is not registered to Microsoft.CloudShell Namespace. Please follow these instructions "https://aka.ms/RegisterCloudShell" to register. In future, unregistered subscriptions will have restricted access to CloudShell service.
The instructions on this page do not resolve the issue. The message continues to show up every single time the cloud shell is started. Prior to today, this message did not appear. Also, Microsoft.Cloudshell is registered.
Related command
There is no related command. This began displaying today upon starting up the Azure Cloud Shell.
Errors
Storage fileshare subscription is not registered to Microsoft.CloudShell Namespace. Please follow these instructions "https://aka.ms/RegisterCloudShell" to register. In future, unregistered subscriptions will have restricted access to CloudShell service.
Issue script & Debug output
Not applicable
Expected behavior
The Cloud Shell should not be displaying a 'not registered' message while the Microsoft.CloudShell Namespace is clearly registered.
Environment Summary
azure-cli 2.53.0 *
core 2.53.0 * telemetry 1.1.0
Extensions: ai-examples 0.2.5 azure-iot 0.22.0 ml 2.21.1 ssh 2.0.2
Dependencies: msal 1.24.0b2 azure-mgmt-resource 23.1.0b2
Python location '/usr/bin/python3.9' Extensions directory '/home/mack/.azure/cliextensions' Extensions system directory '/usr/lib/python3.9/site-packages/azure-cli-extensions'
Python (Linux) 3.9.14 (main, Oct 12 2023, 19:48:32) [GCC 11.2.0]
Legal docs and information: aka.ms/AzureCliLegal
You have 2 update(s) available. They will be updated with the next build of Cloud Shell. New Azure CLI version available. Running 'az upgrade' to update automatically. This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus Your current Azure CLI version is 2.53.0. Latest version available is 2.53.1. Please check the release notes first: https://docs.microsoft.com/cli/azure/release-notes-azure-cli Do you want to continue? (Y/n): n
Additional context
I also can't seem to upgrade Azure CLI to version 2.53.1. The prompt just hangs and hangs until I Ctrl-C back to the prompt.
Hi @mackswift,
2.53.0 is not the latest Azure CLI(2.53.1).
If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.
Thank you for opening this issue, we will look into it.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/azure-iot-cli-triage.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @maertendMSFT.
There was a bug in the image code and it is fixed on 10/31/2023. If your subscription is registered and you still see this message after restarting cloudshell, please comment here. Thank you.
I'm still seeing this issue after completing the instructions on the page. What additional steps should I take to resolve this?
@hima-gadupudi : After I registered the provider with my subscription, I needed to restart my Cloud Shell. THANK YOU!
Everything seems fine now. Thank you!
I am still seeing this as of today, 12/14
I have the same issue as brthurr Storage Fileshare not registered
Do we have to do anything about this on our subscription level as I am also getting this warning on my cloudshell
I am also seeing the error in my subscription.
I am also getting the same warning
Still a problem here too.
+1
Still a problem here too.
So it turns out my storage account was not in the same subscription ( found using the env | grep ACC_STORAGE_PROFILE ) I was using some other subscription and that one indeed didn't have cloudshell registered. I ended up deleting the storage account and moving to a new one in my most used subscription. ( needed to use clouddrive unmount and clouddrrive mount commands )
Attempted de-registering and re-registering. I only have one subscription. Issue persists.
Edit: Seems to be working now... several hours later
I am getting this same error. I have 2 subscriptions, and I have Microsoft.Storage and Microsoft.CloudShell registered under resource providers on both. The subscription number in the error is my student account and as you can see in the screenshot, these are registered. How do I resolve the error?
UPDATE I fixed this by clicking the settings gear on the shell window --> reset user settings --> reset
I am getting this same error. I have 2 subscriptions, and I have Microsoft.Storage and Microsoft.CloudShell registered under resource providers on both. The subscription number in the error is my student account and as you can see in the screenshot, these are registered. How do I resolve the error?
UPDATE I fixed this by clicking the settings gear on the shell window --> reset user settings --> reset
Thank you!!!! This is exactly what fixed mine today
I am getting this same error. I have 2 subscriptions, and I have Microsoft.Storage and Microsoft.CloudShell registered under resource providers on both. The subscription number in the error is my student account and as you can see in the screenshot, these are registered. How do I resolve the error? UPDATE I fixed this by clicking the settings gear on the shell window --> reset user settings --> reset
Thank you!!!! This is exactly what fixed mine today
This worked for me too.
