Failed to deploy a new AVD with option Enroll with Intune

Gary Yue 20 Reputation points
2024-03-06T20:31:49.6033333+00:00

I need to create an AVD with Intune enrolled, but failed. I then did an experiment:

  1. Deployed a new AVD with option "Enroll with Intune" NOT checked in the deployment process, the deployment was successful.
  2. Deployed a new AVD with option "Enroll with Intune" checked on in the deployment process, the deployment was failed with a "Conflict" error.

I checked error code of "Conflict", it shows that "You're requesting an operation that isn't allowed in the resource's current state. For example, disk resizing is allowed only when creating a VM or when the VM is deallocated."

I cannot tell how this info is related to my choices on "Enroll with Intune". Can someone tell me what is going on?

Microsoft Intune Enrollment
Microsoft Intune Enrollment
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Enrollment: The process of requesting, receiving, and installing a certificate.
1,273 questions
0 comments No comments
{count} votes

Accepted answer
  1. Pavel yannara Mirochnitchenko 12,221 Reputation points MVP
    2024-03-07T18:56:26.6666667+00:00

    Do you have MDM protocol enabled in Intune?

    1 person found this answer helpful.

3 additional answers

Sort by: Most helpful
  1. Pavel yannara Mirochnitchenko 12,221 Reputation points MVP
    2024-03-07T07:09:39.5966667+00:00

    Did you create entire AVD setup with a wizard (which creates every component of AVD automatically), or did you did everything half-manually? 2 years ago I witnessed that this automation did not work and I had to create eveything seperately and link to each other.

    I also suggest that you would add AVD tag in this forum, not only Intune. Are you doing EntraID join or hybrid join? If hybrid join, did you test entra id join only, will that work?

    Also, does your physical enrollment work in Intune, is your Intune used already for physical devices?


  2. ZhoumingDuan-MSFT 9,240 Reputation points Microsoft Vendor
    2024-03-07T08:42:03.03+00:00

    @Gary Yue,Thanks for posting in Q&A.

    From your description, I know you failed to deploy a new AVD with option Enroll with Intune.

    I have done some reasearch about this problem, here are some information you can refer.

    1.If you are using AVD single session with Intune, please be sure you meet the requirements mentioned in the below link.

    https://learn.microsoft.com/en-us/mem/intune/fundamentals/azure-virtual-desktop#prerequisites

    Troubleshooting link: https://learn.microsoft.com/en-us/mem/intune/fundamentals/azure-virtual-desktop#known-issues

    2.If you are using AVD multi-session with Intune, please be sure you meet the requirements mentioned in the below link.

    https://learn.microsoft.com/en-us/mem/intune/fundamentals/azure-virtual-desktop-multi-session#prerequisites

    Troubleshooting link: https://learn.microsoft.com/en-us/mem/intune/fundamentals/azure-virtual-desktop-multi-session#troubleshooting

    Please check above information, if there is any update, feel free to let me know.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Gary Yue 20 Reputation points
    2024-03-07T21:33:46.1366667+00:00

    Ah, thank you, Pavel, that's it. based on your reminder, I login Azure portal, go to Microsoft Entra ID > Mobility (MDM and WIP), then changed user scope from None to All. it works! I then created my new AVD with Enroll with Intune, it was successful. Thank you again, Pavel, you solved my problem

    0 comments No comments