How to assign a friendly name to an Azure File share URl

Rajesh-5359 5 Reputation points
2023-09-13T00:49:39.4133333+00:00

We have a requirement to retain the old file share path to assign to the azure file share where all the on-premises files have been moved. For example, //AFS/<file share name> should be redirected to //<Storage Account Name>.file.core.windows.net/<file share name> without having to do any changes in on-premises side. but unable to do this work. I tried several approaches, but nothing helped me out. Kindly check and let me know if you have pointers to solve this issue.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,288 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,172 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 46,286 Reputation points Microsoft Employee
    2023-09-13T05:40:05.8866667+00:00

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

    Based on the information you provided, it seems like you are trying to redirect the old file share path to the new Azure file share path without making any changes on the on-premises side. Unfortunately, this is not possible

    You can consider this approach, but I haven't personally repro the issue, so you may give a try. One approach you can take is to use Windows Server DFS Namespace. You can create a DFS Namespace with the old share name that points to the Azure NetApp Files SMB volume with the new share name. This way, users can continue to access the old share name without having to make any changes on their end.

    Another approach is to use a DNS CNAME record to redirect the old share name to the new Azure file share path. However, this requires changes to be made on the on-premises DNS server.

    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.