impossible to create the Azure cloud shell in the VNet

Hagen 30 Reputation points
2023-02-27T11:58:27.72+00:00

Actually I want to realize a pretty basic architecture: A containerized public Web API that is accessing a mySQL database in a Vnet. Spent already more than 10 hours with minimal success.

Following https://learn.microsoft.com/en-us/azure/cloud-shell/private-vnet I am not able to create the Azure cloud shell in the VNet.

Clicking advanced settings, in the 'you have no storage mounted'-dialogue-box and select 'Show VNET Isolation settings', it changes the region from Switzerland North to some other region, and the Virtual Network textbox does not show. Sometimes I get lucky and see the Virtual network box, but then the textbox to enter storage account grays out. This is annoying. However, if I switch back to Switzerland North I can see the VNet settings prefilled with my Vnet, a pre-selected network profile and the relay namespace:User's image

When submitting, I get the error

Storage creation failed Error: 400
{ "error": { "code": "InvalidLocation", "message": "The location 'switzerlandnorth' is invalid." } } Can't create a storage account. Please try again.

So far, it is impossible for me to access and manage a mysql fexible server that is located in that private Vnet and must not be accessible from the internet. Next challenge will be to connect the container app with the data base...

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,155 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JimmySalian-2011 41,921 Reputation points
    2023-02-27T14:20:22.1233333+00:00

    Hi,

    Did you check the troubleshooting steps for this? - https://learn.microsoft.com/en-us/azure/cloud-shell/troubleshooting

    • Details: When using an Azure Active Directory subscription, you can't create storage.
    • Resolution: Use an Azure subscription capable of creating storage resources. Azure AD subscriptions aren't able to create Azure resources

    Did you tried any other browser and also try in incognito mode, I know sounds crazy but pop up blockers and settings locks down the configuration of Portal view.

    Hope this helps.

    JS

    ==

    Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.