I'm new to Azure and I'm trying to change the DNS IP (in the TCP/IPv4 properties) of the Lab services VM to our Domain Controller VM's IP in Azure.
The Domain Controller VM resides in Azure but outside of the Azure Lab services environment but has connectivity to/from the Azure lab services.
When I RPP into the Lab services VM from the Virtual machine pool and change its DNS IP to point to the Domain Controller VM's IP, the connection is immediately lost to the Lab services VM. Then I can no longer RDP to it. The only way to get the connection back is to reset the VM. Then I'm back to the original state and I still need to change the DNS IP.
I normally RDP into the Lab services VM by using the DNS name from the Remote deskstop information section of the Lab services VM Ex) ...cloudapp.azure.com:7001
Is there a way for me to still RDP to the Lab services VM after changing its DNS IP?
By assigning a public IP to the Lab services VM perhaps? If it is possible, where/how would I go about doing that?
TIA