My google-fu has failed me on this one.
I setup an Azure VM (2016 Datacenter), remoted into it from my local network and joined it to the domain.
The vm cannot access any shares on an on-premises server without being prompted for authentication. The error shown is: "Cannot contact a domain controller to service the authentication request". If I enter a domain user and password I can access the share as long as the unc is \server\sharename. DFS shares like \domain.com\sharename never work.
However I can access a share on the vm from my local network with no problems.
Communication from local network <-> Azure is via a virtual network gateway. The local endpoint is a SonicWall TZ105. I set it up using the instructions from SonicWall on how to setup a VPN to Azure. Local network IP range is 192.168.0.0/24, the vnet gateway subnet is 10.10.0.0/24, the vnet vm subnet is 10.10.10.0/24.
My domain controllers (Server 2008/R2, don't judge, that's why we're testing Azure) are on-premises. The vnet DNS lists the two DCs.
Event viewer on the VM shows a couple of possibly relevant errors:
Event 40960 LSA (LsaSrv) The Security System detected an authentication error for the server cifs/servername. The failure code from authentication protocol Kerberos was "No authority could be contacted for authentication. (0x80090311)". This occurs on each attempt to access an on-premises share.
Event 1129 Group Policy lack of network connectivity to a domain controller. Occurs when the VM is started.
Klist on the vm only shows the tgt, no other tickets.
I'm not sure where to go from here. It's confusing that the domain join can find a DC to join but after that nothing else seems to be able to.