@AmanpreetSingh-MSFT Alternative solution instead of using the standalone DFS namespace for the Azure NetApp File.
Configure a CNAME record for the SMB volume in your DNS server and then register SPN (Service Principal Name) for the CNAME of the SMB volume on my Domain Controller. Please refer to the documentation here for more details Can't access SMB file server - Windows Server | Microsoft Learn
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Please do not forget to and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.