Integrate Azure AD with your VMs to allow users to sign in using corporate credentials.
Enable Azure AD login
- Assign the
Azure AD Loginrole to the VM or resource group. - Install the
AADLoginForWindowsorAADLoginForLinuxextension. - Configure
Azure ADconditional access policies as needed.
az vm extension set \ --publisher Microsoft.Azure.ActiveDirectory \ --name AADLoginForLinux \ --resource-group MyRG \ --vm-name MyVM