It could be a DNS configuration issue in the VNET. Check the AzureP2S-VNET and see the DNS Servers settings. Type the name and the IP of the on-premises domain controllers that runs the DC/DNS server roles.
----------
--please don't forget to upvote
and Accept as answer
if the reply is helpful--