Issue connecting Azure Windows Server VM to Blob Storage File Share

Vinay 20 Reputation points
2024-04-22T08:29:48.6533333+00:00

I am having trouble connecting my Azure Windows Server VM to a Blob Storage File Share, where 25 users have been assigned permission. I have been troubleshooting this issue for the past 5 days and cannot seem to resolve it. Can anyone help me with this problem?

Regards,

Vinay Shukla

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,301 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,920 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,013 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,261 questions
Azure Advisor
Azure Advisor
An Azure personalized recommendation engine that helps users follow best practices to optimize Azure deployments.
64 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 46,446 Reputation points Microsoft Employee
    2024-04-22T10:01:13.1933333+00:00

    @Vinay Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    1. May I know what kind of permission , have you assigned?
    2. Are you getting any error message? If so, can you please share the screenshot of the error? How are you trying to connect?
    3. How are you trying to connect?
    4. Are you trying to connect to Azure Blob Storage or File Share?
    5. What kind of authentication are you using?

    Check the firewall settings: Make sure that the firewall on your Windows Server VM is not blocking outbound traffic to the Azure Blob Storage File Share. You can check this by temporarily disabling the firewall and testing the connection. If the connection works with the firewall disabled, then you need to add an outbound rule to allow traffic to the Azure Blob Storage File Share.

    Check the network settings: Make sure that the network settings on your Windows Server VM are configured correctly. Specifically, make sure that the DNS settings are correct and that the VM can resolve the hostname of the Azure Blob Storage File Share. You can test this by pinging the hostname from the VM.

    Check the storage account settings: Make sure that the storage account that contains the Azure Blob Storage File Share is configured correctly. Specifically, make sure that the access tier is set to "Hot" and that the firewall settings are configured to allow traffic from your VM's IP address.

    Check the permissions: Make sure that the users who need access to the Azure Blob Storage File Share have been granted the appropriate permissions. Specifically, make sure that they have been granted "Storage Blob Data Contributor" or "Storage Blob Data Owner" role assignments in the storage account.

    Check the connection string: Make sure that the connection string that you are using to connect to the Azure Blob Storage File Share is correct. Specifically, make sure that the account name and account key are correct.

    Check the SMB version: Make sure that the SMB version that your Windows Server VM is using is supported by the Azure Blob Storage File Share. Specifically, make sure that your VM is using SMB 3.0 or later.

    If you have checked all of these settings and are still having trouble connecting to the Azure Blob Storage File Share, you can try using the Azure Storage Explorer tool to connect to the file share and verify that it is accessible.

    Create an SMB Azure file share and connect it to a Windows VM using the Azure portal
    Accessing Blob Storage through AzCopy or Azure Storage Explorer. You can also consider using SFTP for blob storage.

    This is article contains complete details for mounting Azure File Share: https://learn.microsoft.com/en-us/azure/storage/files/storage-files-quick-create-use-windows

    Mount SMB Azure file share on Windows : https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows ( This article provides information and details which OS is supported and Mounting option on Windows)

    There is video which provide detailed steps for mounting Azure File Share :https://www.youtube.com/watch?v=bmRZi9iGsK0

    Please let us know if you have any further queries. I’m happy to assist you further.    


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

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.