Mar 20 2023 08:34 AM
Dear Azure Virtual Desktop friends,
If you want to set up Azure Virtual Desktop infrastructure in Azure and you have chosen Azure AD Join and with Enroll VM with Intune, you may get the following error message:
--------------------
[{"code":"VMExtensionProvisioningError","message":"VM has reported a failure when processing extension 'AADLoginForWindows'.
Error message: \"AAD Join failed with status code: -2145648509. AzureSecureVMJoinOperation: DeviceEnroller::AzureSecureVMEnroll
failed 0x801c0083.\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/vmextensionwindowstroubleshoot "}]}
--------------------
This could possibly be because you have reached the limit for adding devices to Intune.
You can find this information in the Intune Admincenter and increase the value. Either edit the default settings or set up a new Restriction policy.
I realize it's not super, great, extra news, but I ran into these limitations during a deployment and the hints weren't necessarily obvious.
Thank you for taking the time to read the article.
Best regards, Tom Wechsler
P.S. All scripts (#PowerShell, Azure CLI, #Terraform, #ARM) that I use can be found on github! https://github.com/tomwechsler
Apr 04 2023 09:55 AM
Apr 04 2023 10:11 PM