@Parveen Hooda
Sorry to hear that you are facing issues. Please read through the Create and manage Active Directory connections for Azure NetApp Files. There are specific requirement to ensure that DNS is working. You can also find information on how to troubleshoot common issues, including DNS, here.
If you are still facing issues please let me know and I will be happy to work with you to resolve the issue.
-------------------------------
Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.