Login with Azure AD into Azure Virtual Desktop

McMark 10 Reputation points
2023-01-16T08:29:16.7533333+00:00

Hi all,

I want to create a session host with Azure Virtual Desktop with a customized image from gallery but when I try to deploy a new vm, I can't check the Azure AD Login

User's image

If I add manually the vm into host with AADLogin agent and setup RBAC, doesn't function.

Where I miss?

Thanks,

Marco

Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,491 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,103 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Luke Murray 10,991 Reputation points MVP
    2023-01-16T09:08:17.15+00:00

    Was the custom image created on a VM, without AAD support?

    "The VM used for taking the image must be deployed without "Login with Azure AD" flag. During the deployment of Session Hosts in Azure Virtual Desktop, if you choose to add VMs to Azure Active Directory you are able to Login with AD Credentials too."

    https://video2.skills-academy.com/azure/virtual-desktop/set-up-golden-image?WT.mc_id=AZ-MVP-5004796#create-an-image-from-an-azure-vm

    If so, there may have been issues because the AAD integration may have been been configured on the original build and causing issues.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.