Hi @Francesco Russo , please follow these troubleshoot steps and let me know if they resolve your issue:
- Make sure that the Entra ID user has been added to the "Remote Desktop Users" group on the VM. You can do this by logging in to the VM using an administrator account, opening the "Computer Management" console, and adding the Entra ID user to the "Remote Desktop Users" group.
- Make sure that the Entra ID user has the correct permissions to access the VM. You can do this by assigning the Entra ID user the "Virtual Machine Administrator Login" or "Virtual Machine User Login" role in Azure RBAC. You can assign the role in the Azure portal or using Azure CLI.
- Make sure that the Entra ID user is using the correct format for the username when logging in to the VM. The format should be "AzureAD\username" or "[username@domain.com]", depending on the Azure AD configuration.
- Make sure that the Entra ID user has a valid password or has set up multi-factor authentication (MFA) if required. You can check the password or MFA settings in the Azure portal.
- Make sure that the VM is running and is accessible from the Entra ID user's network. You can check the VM status and network settings in the Azure portal.
If you have checked all of these things and are still having trouble logging in, you can try to reset the Entra ID user's password or MFA settings, or you can try to log in using a different user account to see if the issue is specific to the Entra ID user.
Please let me know if you have any questions and I can help you further.
If this answer helps you please mark "Accept Answer" so other users can reference it.
Thank you,
James