SOLVED
Home

Azure Cloud Shell error

Highlighted
Miguel Lobato
Contributor

Azure Cloud Shell error

I am getting this error messagem when connecting to the bash:

 

"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."

 

Anyone with the same problem? 

9 Replies

Re: Azure Cloud Shell error

@Sander van de Velde, you`ve been playing with the Cloud Shell. Have you seen this error?

Re: Azure Cloud Shell error

Seems the storage is already deleted but the cloud drive is still connected.

 

Try in the shell: "clouddrive unmount" and then refresh.

 

See my blog for more details.

Solution

Re: Azure Cloud Shell error

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!

Re: Azure Cloud Shell error

This had solved it! thank you very much!

Re: Azure Cloud Shell error

Glad it`s working now, Miguel :) Looking forward to see your use cases and how you`re using Cloud Shell on your next posts!

Re: Azure Cloud Shell error

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-CloudDrive

 

And 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

Re: Azure Cloud Shell error

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-cloud...

Re: Azure Cloud Shell error

Hello Yeah my bad, I am using PowerShell Cloud Shell,

That solved the issue! Thank you so much!!

Re: Azure Cloud Shell error

that worked for me thanks

Related Conversations
Conditional Access based on location only?
Jim Kacerguis in Azure on
2 Replies
How to locate storage account belongs to azure VM disk
Suhag Desai in Azure on
7 Replies
Report on users with MFA Enabled
Damon Betlow in Azure Active Directory on
15 Replies
Azure AD Connect on a DC
Glenn V in Azure Active Directory on
15 Replies
Different method to create azure virtual machine
Suhag Desai in Azure on
3 Replies
Some basic questions above Azure
AUser ZUser in Azure on
6 Replies