I'm not able to get named pipes working within a single VM or across 2 VMs within Azure. Availability set is not an option.
So, if the VM name is testVM.cloudapp.net, the named pipe is failing with username or password is incorrect. If we use testVM instead of FQDN, the named pipe is working fine.
There is no virtual network, we have the firewall correctly setup(even turned it off).
Adding a lmhosts file with the internal ipaddress mapped to testVM.cloudapp.net did not solve this. Accessing \testVM.cloudapp.net asks for authentication and fails. But \testVM works. How do I setup this to make it work. Once this works, I want to expand this to multiple VMs.