TheJumpCloud / jumpcloud-ADMU

JumpCloud Active Directory Migration Utility - JCADMU
23 stars 7 forks source link

CUT-4223-LeaveLocalDomainFix #131

Closed kmaranionjc closed 3 months ago

kmaranionjc commented 3 months ago

Issues

What does this solve?

This change fixes the issue where $LocalDomainStatus not initialized which causes an issue when an admin is trying to leave a non-AzureAD domain/local domain

Is there anything particularly tricky?

n/a

How should this be tested?

  1. Run this version of ADMU with -LeaveDomain checked in a local AD domain joined machine.
  2. After a successful migration, run dsregcmd.exe /status on powershell, device state should have DomainJoined : NO or the ADMU log should have this message: Local Domain State, Local Domain Joined : NO

    Screenshots