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

Rajesh-5359 5 Reputation points

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 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.
972 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.
2,111 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 38,801 Reputation points Microsoft Employee

    @RajeshJegadeesan-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