SOLVED

Can't connect Cloud Shell to my storage account

%3CLINGO-SUB%20id%3D%22lingo-sub-2582406%22%20slang%3D%22en-US%22%3ECan't%20connect%20Cloud%20Shell%20to%20my%20storage%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2582406%22%20slang%3D%22en-US%22%3E%3CP%3EHi!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20opened%20a%20new%20Azure%20Cloud%20Shell%20tab%20in%20%3CSTRONG%3EWindows%20Terminal%3C%2FSTRONG%3E%20and%20got%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CEM%3EYou%20have%20not%20set%20up%20your%20cloud%20shell%20account%20yet.%20Please%20go%20to%20%3CA%20href%3D%22https%3A%2F%2Fshell.azure.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fshell.azure.com%3C%2FA%3E%20to%20set%20it%20up.%3C%2FEM%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFine%2C%20so%20I%20headed%20there%20and%20filled%20in%20the%20necessary%20details%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22azureuser255_0-1627125335491.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F298154i9A9CF6B21D4B2333%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22azureuser255_0-1627125335491.png%22%20alt%3D%22azureuser255_0-1627125335491.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EWhen%20I%20hit%20%3CSTRONG%3EAttach%20storage%3C%2FSTRONG%3E%2C%20I%20get%20this%20error%20message%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%3EThe%20user%20setting%20is%20invalid%20and%20has%20been%20removed.%20%3CBR%20%2F%3EError%3A%20resource%20is%20not%20found%3A%20%3CBR%20%2F%3E'%2Fsubscriptions%2F%3CSTRONG%3E%3CGUID%20to%3D%22%22%20my%3D%22%22%20subscription%3D%22%22%3E%3C%2FGUID%3E%3C%2FSTRONG%3E%2Fresourcegroups%2F%3CSTRONG%3E%3CNOT%20the%3D%22%22%20name%3D%22%22%20of%3D%22%22%20my%3D%22%22%20resource%3D%22%22%20group%3D%22%22%3E%3C%2FNOT%3E%3C%2FSTRONG%3E%2Fproviders%2FMicrosoft.Storage%2FstorageAccounts%2F%3CSTRONG%3E%3CA%20storage%3D%22%22%20account%3D%22%22%20i%3D%22%22%20have%3D%22%22%20deleted%3D%22%22%20target%3D%22_blank%22%3E%3C%2FA%3E%3C%2FSTRONG%3E%3CA%20storage%3D%22%22%20account%3D%22%22%20i%3D%22%22%20have%3D%22%22%20deleted%3D%22%22%20target%3D%22_blank%22%3E'%3C%2FA%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20tried%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E*%20Adding%20a%20new%20file%20share%20to%20my%20storage%20account%20and%20entered%20that%20into%20the%20wizard%3C%2FP%3E%3CP%3E*%20Deleted%20my%20storage%20account%20and%20let%20the%20Cloud%20Shell%20wizard%20create%20the%20storage%20account%3C%2FP%3E%3CP%3E*%20Tried%20different%20browsers%20in%20case%20there%20was%20some%20kind%20of%20cache%20issue%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20doesn't%20make%20sense%20to%20me%20that%20it%20points%20to%20a%20resource%20group%20with%20the%20wrong%20name.%20I%20gave%20it%20the%20right%20one%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20is%20appreciated%20%3A)%3C%2Fimg%3E%20Thanks!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2582406%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EData%20%2B%20Storage%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2582525%22%20slang%3D%22en-US%22%3ERe%3A%20Can't%20connect%20Cloud%20Shell%20to%20my%20storage%20account%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2582525%22%20slang%3D%22en-US%22%3EHave%20you%20tried%20creating%20a%20storage%20account%20and%20file%20share%20manually%2C%20then%20select%20those%2C%20and%20seeing%20if%20that%20works%3F%3C%2FLINGO-BODY%3E
New Contributor

Hi!

 

I opened a new Azure Cloud Shell tab in Windows Terminal and got this:

 

You have not set up your cloud shell account yet. Please go to https://shell.azure.com to set it up.

 

Fine, so I headed there and filled in the necessary details:

 

azureuser255_0-1627125335491.png

When I hit Attach storage, I get this error message:

 

The user setting is invalid and has been removed. 
Error: resource is not found:
'/subscriptions/<GUID to my subscription>/resourcegroups/<Not the name of my resource group>/providers/Microsoft.Storage/storageAccounts/<a storage account I have deleted>'

 

I have tried:

 

* Adding a new file share to my storage account and entered that into the wizard

* Deleted my storage account and let the Cloud Shell wizard create the storage account

* Tried different browsers in case there was some kind of cache issue

 

It doesn't make sense to me that it points to a resource group with the wrong name. I gave it the right one

 

Any help is appreciated :) Thanks!

 

3 Replies
best response confirmed by azureuser255 (New Contributor)
Solution
Have you tried creating a storage account and file share manually, then select those, and seeing if that works?

@gilblumbergI hadn't tried creating both the storage account and the file share manually.. I did so and now it works. Thanks for taking the time to answer!

Brilliant, glad I could help!