@Surana, Jainav As I understand you are not able access the files in Azure Files share folder?
- But now container is not able to access files kept on Azure file share. Do you get any error message? If so please share the screenshot?
- How are you trying to access?( Portal, Storage Explorer)
- Which version of OS are you using?
If you have changed the DFS (Distributed File System) pointing from your on-premises Windows Server to Azure File Share, but you are facing issues accessing the files on Azure File Share from within a Windows container, there are a few potential causes and solutions you can consider: DNS resolution: Ensure that the DNS resolution for the DFS namespace pointing to Azure File Share is correctly configured. Check the DNS settings within the Windows container and ensure it can resolve the DFS namespace to the correct Azure File Share endpoint.
Authentication and access permissions: Verify that the Windows container has the necessary authentication and access permissions to access the Azure File Share. Ensure that the container is joined to the same domain as the Azure File Share and has the appropriate credentials to authenticate against the domain.
Firewall and network connectivity: Check if any firewall rules or network configurations are blocking the Windows container's access to the Azure File Share. Ensure that the required ports (such as TCP 445) are open for the container to establish a connection to the Azure File Share.
Azure Files authentication: Confirm that the Azure File Share has the appropriate authentication settings configured. Azure Files supports two types of authentication: Azure AD domain authentication and storage account key authentication. Ensure that the chosen authentication method aligns with your environment and is correctly configured.
Mount point and credentials: Double-check the mount point and the credentials used to mount the Azure File Share within the Windows container. Ensure that the mount point is correctly set up and that the credentials used to access the Azure File Share are accurate and have sufficient permissions.
Azure VNet integration: If your Windows container is deployed within an Azure virtual network (VNet), make sure that the VNet is integrated with the Azure File Share's VNet. This ensures that the container can communicate with the Azure File Share securely.