Repairing Azure Local Connected Machine Extensions


I’ve been futzing around with a Dell AX-4510c for a hot minute, trying to get Azure Local working in Azure Government. It’s not an easy task – things don’t “just work” and you’re going to spend a lot of time redoing things trying to get it right.

One of the blunders I made while dorking around with this crap was “upgrading” the Connected Machine Extensions. Yeah… don’t do that. Validation and creation DEPEND ON the absolute version of the extensions matching. Upgrading them will put you in a world of hurt. Allegedly there’s a rollback feature (I’ve not been able to figure that out), but good luck finding it.

If you’re in the same boat and scrambling to figure out how to undo the bonehead move that got you into this mess without completely reloading the OS via the ISO:

New-AzConnectedMachineExtension -Name "AzureEdgeLifecycleManager" -ResourceGroupName $RG -MachineName $env:COMPUTERNAME -Location $Region -Publisher "Microsoft.AzureStack.Orchestration" -ExtensionType "LcmController" -NoWait -TypeHandlerVersion 30.2506.0.1001

New-AzConnectedMachineExtension -Name "AzureEdgeDeviceManagement" -ResourceGroupName $RG -MachineName $env:COMPUTERNAME -Location $Region -Publisher "Microsoft.Edge" -ExtensionType "DeviceManagementExtension" -NoWait -TypeHandlerVersion 1.2506.0.3002

This is what got me fixed up. God speed, my friend!