Possbile regression: Join Entra ID group fails during Re-Image tasks

There seems to be a logic error in Re-Image tasks in NME 7.2.1. Nerdio tries to join the re-imaged VM with its old device ID to Entra ID groups. This fails, because the Entra ID device is deleted and re-created with another ID during the task.

How to reproduce:

  1. Set up an Entra ID group to join via “Host pool settings → Virtual Machines → Entra ID → Entra ID group(s)”
  2. Re-Image a VM inside said host pool
  3. See step “Add to Entra ID security group” fail

Analysis (see timestamps to verify correct order):

  1. During step “Get Entra ID device id” the old device ID is discovered and seemingly saved for subsequent steps: 

  2. Before the VM is deleted, step “Unjoin from Entra ID” deletes the related Entra ID device:

  3. Once the new VM is created, step “Join Entra ID” creates a new Entra ID device:

  4. Finally, “Add to Entra ID security group” tries to join the device to a group but fails, since it uses the old device ID:

 

This might be a regression in 7.2.1, since the failures occur since we installed the update. Please check…

0

Comments (1 comment)

0
Avatar
Lars Bertulies

I've updated to 7.2.2 today and the problem persists. Since no one seems to be reading this, I'll be creating a ticket.

Please sign in to leave a comment.