Unable to access Azure File Share / DFS

Luke Chalmers 2 Reputation points
2022-04-13T15:13:28.093+00:00

Hello,

I have a couple of questions regarding Azure files. The first one is regarding security. Typically, when we have set up file shares on a Windows File Server, we would give the 'domain admins' account full access to the 'share' through the share permissions. When I setup the file share in Azure files, I can access the share using a user account when I go to \stazurestoreaccount.file.core.windows.net\share (as I have added that user to the SMB Share Elevated Contributor role assignment). How do you add the domain admin account to the same role as this group does not appear in my Azure Active Directory.

This storage account has been joined to our on-premise domain. I am trying to get DFS Namespace to work whereby when I go to \oldfileserver\share it will redirect to \stazurestoreaccount.file.core.windows.net\share

I have followed the guide to the letter in the below link but it is still not working. If I just go to \oldfileserver, it takes me to my DFS Namespace server so I see all their shares. In there, I see my #oldfileservershare and then when I click on this, this takes me to the azure file share. Essentially, if I go to \oldfileserver#oldfileserver\share then it works but I want it to go to \oldfileserver\share.

https://charbelnemnom.com/map-a-file-server-name-to-azure-file-share-with-dfs-n/

Any ideas what I might be doing wrong?

Many thanks,

Luke

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

2 answers

Sort by: Most helpful
  1. SaiKishor-MSFT 17,201 Reputation points
    2022-04-13T23:01:03.667+00:00

    anonymous userchalmers Thank you for reaching out to Microsoft Q&A. I understand that you are having issues with your DFS Namespace to work with Azure File share.

    Have you tried following this video which guides you through setting up the same: https://www.youtube.com/watch?v=jd49W33DxkQ (Please check video from 9:34 onwards).

    Please check out the same and let us know. Thank you!

    0 comments No comments

  2. Luke Chalmers 2 Reputation points
    2022-04-25T14:26:06.033+00:00

    @SaiKishor-MSFT ,

    Thank you. I have gone through this a few times but still no luck. So after going through all the steps, I can do the following

    I can browse my Azure file share by browsing to

    \domain controller#oldfileserver\share

    but if I try and browse to \oldfileserver\share then I am now getting 'Windows can't find \oldfileserver\share' check spelling'. If I ping 'oldfileserver', it resolves the IP address of the domain controller which is also my DFS-N server due to the A record that I have created in the DNS.

    Really strange. Any ideas?

    Many thanks,

    Luke