question

lukechalmers avatar image
0 Votes"
lukechalmers asked lukechalmers answered

Unable to access Azure File Share / DFS

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SaiKishor-MSFT avatar image
0 Votes"
SaiKishor-MSFT answered

@lukechalmers 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!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

lukechalmers avatar image
0 Votes"
lukechalmers answered

@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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.