Assume you have an Azure Storage account in place where you can create your own cloud spaces like blobs, file shares, etc., here is a way for you to map the file shares in your Azure Storage account as a network drive on Windows.
Note that this is not to map the storage blobs but only File Shares.
![](https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/02/image-2.png?resize=544%2C249&ssl=1)
You will also need port 445 open for outbound to allow SMB protocol traffic. You can quickly use the following PowerShell script to do a quick port scan test.
$resourceGroupName = "resourcename"
$storageAccountName = "storageaccount"
Connect-AzAccount
$storageAccount = Get-AzStorageAccount -ResourceGroupName $resourceGroupName -Name $storageAccountName
Test-NetConnection -ComputerName ([System.Uri]::new($storageAccount.Context.FileEndPoint).Host) -Port 445
Now, let’s open File Explorer, go to This PC, click Computer tab and Map network drive.
![](https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/02/image-3.png?fit=600%2C240&ssl=1)
Select the drive letter and enter the UNC Path of your Azure Storage File Share, formatted as below:
\\storageaccount.file.core.windows.net\filesharename
Make sure to check the option “Connect using different credentials” and click Finish.
![](https://i1.wp.com/www.kjctech.net/wp-content/uploads/2020/02/image-4.png?fit=600%2C444&ssl=1)
When prompted for a credential, put in AZURE\storageaccount as the username and your Azure Storage account access key as the password.
![](https://i0.wp.com/www.kjctech.net/wp-content/uploads/2020/02/image-5.png?resize=456%2C375&ssl=1)
Hit OK, and done.
You can do so via Command Line or even PowerShell but somehow I find this is actually easier.
I’m asthmatic