Hello Kiili Ville-Matti,
Greetings! Welcome to Microsoft Q&A Platform.
Verify that the Linux 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.
SMB file shares communicate over port 445, which many organizations and internet service providers (ISPs) block for outbound (internet) traffic. This practice originates from legacy security guidance about deprecated and non-internet safe versions of the SMB protocol. Although SMB 3.x is an internet-safe protocol, organizational or ISP policies may not be possible to change. Therefore, mounting an SMB file share often requires additional networking configuration to use outside of Azure. Check if any firewall rules or network configurations are blocking the 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 and also refer https://learn.microsoft.com/en-us/azure/storage/files/storage-files-networking-overview, https://learn.microsoft.com/en-us/azure/container-registry/container-registry-firewall-access-rules
Confirm that the Azure File Share has the appropriate authentication settings configured. Azure Files supports two types of authentications: Azure AD domain authentication and storage account key authentication. Ensure that the chosen authentication method aligns with your environment and is correctly configured.
Double-check the mount point and the credentials used to mount the Azure File Share within the 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.
If your 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.
For more troubleshooting refer -https://learn.microsoft.com/en-us/troubleshoot/azure/azure-storage/files/performance/files-troubleshoot-performance?tabs=linux#youre-running-an-old-operating-system,
Hope the above information helps! 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.