Assuming it's an Azure VM (you mention external hosting) then you should read this document fully as there may be some implications depending on your setup.
https://learn.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-windows