vm creation error on Aruze

MGUENDOUZI 66 Reputation points
2022-10-05T07:39:32.77+00:00

Hi there

When I create a virtual machine to set up a VDI I want to join my machine to my azure active directory domain, I check the box join to the azure active directory domain and I uncheck the Intune box, when I deploy my machine here is the error which is displayed, can you help me please thank you

{
"status": "Failed",
"error": {
"code": "VMExtensionProvisioningError",
"message": "VM has reported a failure when processing extension 'AADLoginForWindows'. Error message: \"AAD Join failed.\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/vmextensionwindowstroubleshoot "
}
}

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,205 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,376 questions
0 comments No comments
{count} votes

Accepted answer
  1. Bjoern Peters 8,781 Reputation points
    2022-10-05T12:27:00.133+00:00

    As you didn't show us what you have configured during your deployment, we cannot tell you what is wrong.

    Maybe it is something with your VNet, and maybe your local account was not configured correctly during deployment (and as you just redeploy, it'll never change)

    So - as you just provided the above errors/screenshots - we can rely on those...

    Have you checked you checked your local credentials for that VM?
    Has that AD-user used for the join had enough privileges in the domain?
    Is that AAD user enabled?

    Or as suggested above... have you used that troubleshooting guides? What is the outcome?


3 additional answers

Sort by: Most helpful
  1. JimmySalian-2011 41,926 Reputation points
    2022-10-05T08:20:10.513+00:00

    Hi,

    Did you check this page it has information on the deployment process, as you have already unchecked the option of Intune Box I was about to suggest that.

    howto-vm-sign-in-azure-ad-windows
    troubleshoot-vm-configuration

    Hope this helps.

    ==
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


  2. MGUENDOUZI 66 Reputation points
    2022-10-05T15:51:42.837+00:00

    thank you for the answer, I managed to make the error message disappear, my vm is created I see it in Azure active directory put how to join it to my domain? thank you

    0 comments No comments

  3. MGUENDOUZI 66 Reputation points
    2022-10-06T07:18:31.38+00:00

    Hello

    thank you for your information, now that I have my vm in ad join, I can't connect with my AAD account, I added the user and administrator roles, I see the VM (Windows server 2022) on my Remote Desktop client it shows me a window to connect, then it gives me an error

    247993-azure-vd.png

    0 comments No comments