i have been trying to set up azure file share on my machine by mapping it. i have ran the script in power shell but this error keeps happening 

colm sweeney 1 Reputation point
2020-07-08T18:58:36.68+00:00

11598-second-error.png11632-error.png

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,170 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Leon Laude 85,666 Reputation points
    2020-07-08T22:02:03.353+00:00

    Hi,

    You're receiving a timeout, so it appears that the TCP\445 port is not opened, you can refer to the following documentation:

    Troubleshoot Azure Files problems in Windows - Cause 1: Port 445 is blocked
    https://learn.microsoft.com/en-us/azure/storage/files/storage-troubleshoot-windows-file-connection-problems#cause-1-port-445-is-blocked

    Here's the documentation on how to use an Azure file share with Windows and how to map it:

    Use an Azure file share with Windows
    https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows

    Best regards,
    Leon

    0 comments No comments

  2. Sumarigo-MSFT 43,806 Reputation points Microsoft Employee
    2020-07-09T12:19:53.907+00:00

    @LeonLaude Ensure port 445 is open: The SMB protocol requires TCP port 445 to be open; connections will fail if port 445 is blocked. You can check if your firewall is blocking port 445 with the Test-NetConnection cmdlet. To learn about ways to work around a blocked 445 port, see the Cause 1: Port 445 is blocked section of our Windows troubleshooting guide.

    If you have ever been blocked using Azure Files due to your ISP's port 445, you can setup a Point to Site VPN to your Azure Files. Refer to the suggestions mentioned in the GitHub article

    You can mount the file share on your local machine by using the SMB 3.0 protocol, or you can use tools like Storage Explorer to access files in your file share. From your application, you can use storage client libraries, REST APIs, PowerShell, or Azure CLI to access your files in the Azure file share.

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.