Forum Discussion
Azure Cloud Shell error
- May 18, 2017
Sorry you hit this bug Miguel! We're tracking this issue and should have a fix for this very soon! By chance did you delete the storage resource that was created for you when first launching Cloud Shell?
Sander is correct in troubleshooting, could you:
1. Run "clouddrive unmount"
2. Restart Cloud Shell via restart icon or exit and relaunch
3. You should be prompted with the storage creation dialog again
Let me know if this works or not for you!
Sorry you hit this bug Miguel! We're tracking this issue and should have a fix for this very soon! By chance did you delete the storage resource that was created for you when first launching Cloud Shell?
Sander is correct in troubleshooting, could you:
1. Run "clouddrive unmount"
2. Restart Cloud Shell via restart icon or exit and relaunch
3. You should be prompted with the storage creation dialog again
Let me know if this works or not for you!
- tmiller673gmailcomJul 16, 2021Copper Contributor
Thank you thank you thank you!
Deleted clouddrive before dismount. Nothing worked because of missing keys.
Except your fix saved the day!
Thanks for taking the time to help.
- amankumarchagtiJan 30, 2021Copper Contributor
I wasn't able to Resolve the error Warning: Failed to mount the Azure file share. Your cloud drive won't be available. even though I run the clouddrive unmount command on CLI. Please provide some support.
- viniciusvidalSep 03, 2020Copper Contributor
Justin Luk, works for me. Thanks!
- vasun76Jan 09, 2020Copper Contributor
Justin Luk - In my case, the warning was due to the firewall settings. I had removed public access to the storage account. I kept getting only the warning (no error message) - "Your Cloud Shell session will be ephemeral so no files or system changes will persist beyond your current session". Tried the unmount command which prompted to reload/recreate the file share, but would not create the file share in the storage account and I kept getting the same warning. Removed the firewall restrictions and it fixed the issue, but now I have to dig deep to find out what is the source IP/subnet for the built-in shell before re-enabling the firewall.
- falk0069Feb 26, 2020Copper Contributor
vasun76 did you have any luck? The Firewall is my issue as well. I tried adding my own IP and the IP when running 'curl http://ifconfig.me/ip' from the shell. I still get that warning. However, my session seems to persist and I don't lose any files, so maybe it is warning that isn't breaking anything.
- Yadder CamachoApr 27, 2018Copper Contributor
Hello Justin!
I am having a bit of an issue with such when I run " Clouddrive unmount ", I receive the error:
Get-CloudDrive : A positional parameter cannot be found that accepts argument 'unmount'.
At line:1 char:1
+ clouddrive unmoint
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Get-CloudDrive], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Get-CloudDriveAnd I do to receive the same error here :
Warning: Failed to mount the Azure file share. Your cloud drive won't be available.
Your Cloud Shell session will be ephemeral so no files or system changes will persist beyond your current session.
VERBOSE: Authenticating to Azure ...
WARNING: Azure Authentication failed.So I am unable to use correctly The Azure Cloud Shell,
Any help is greatly recieved
- jocall3Apr 19, 2022Copper Contributor
Get-CloudDrive : A positional parameter cannot be found that accepts argument 'unmount'.
At line:1 char:1
+ clouddrive unmoint ——————misspelledHope that fixes your problem
- Justin LukApr 27, 2018Brass Contributor
Hey, sorry for the trouble could you provide some more info:
1. Could you confirm if you are using Bash or PowerShell in Cloud Shell?
Currently PowerShell in Cloud Shell uses a different syntax so instead of `clouddrive unmount` run `Dismount-clouddrive`
https://docs.microsoft.com/en-us/azure/cloud-shell/persisting-shell-storage-powershell#unmount-clouddrive
- AnonymousMay 12, 2018
that worked for me thanks
- Miguel LobatoMay 18, 2017Iron ContributorThis had solved it! thank you very much!
- DaniMartMSMay 19, 2017
Microsoft
Glad it`s working now, Miguel :) Looking forward to see your use cases and how you`re using Cloud Shell on your next posts!