AD integration can do with Linux VM for different directories VM?, I have tried AD integration with Windows VM for different directories VM but it not worked and Is there any way to do AD integration for Windows VM with different directories VM. as per Microsoft documentation it will work for Azure AD joined to the same directory as the VM. Any suggestions or advises for AD integrations for Windows VM (or) Linux VM for different directories. https://learn.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-windows
I created Windows VM in Azure by using Azure AD, windows-11 (win11-21h2-pro) operating system with size of (Standard B1ls (1 vcpu, 0.5 GiB memory).
To log in to the VM by using your Azure AD credentials, you first need to configure role assignments for the VM, I did role assignments as per my requirement.
Remote connection to VMs that are joined to Azure AD is allowed only from Windows 10 or later PCs that are either Azure AD registered (minimum required build is 20H1) or Azure AD joined or hybrid Azure AD joined to the same directory as the VM. Additionally, to RDP by using Azure AD credentials, users must belong to one of the two Azure roles, Virtual Machine Administrator Login or Virtual Machine User Login.
If you're using an Azure AD-registered Windows 10 or later PC, you must enter credentials in the AzureAD\UPN format (for example, AzureAD\john@contoso.com).