Hello Barak Peley,
Thank you for posting your query here!
I understand that you are facing an issue while mounting the Azure file share on an endpoint as it fails because the domain controller cannot be found.
Please verify that your virtual network DNS settings are pointing to the Azure AD DS DNS servers.
And check that Network Security Group (NSG) rules allow traffic to and from the Azure AD DS domain controllers.
Also ensure the VM is joined to the Azure AD DS domain and can resolve the domain controllers.
Here is an example of mount command with domain credentials:
net use Z: \\storageaccountname.file.core.windows.net\sharename /u:yourdomain\username password
If the issue persists, please provide specific error messages/screenshots.
Do let us know if you have any further queries. I’m happy to assist you further.