How to start custom Device Cutover Sequence with ODM PowerShell?

I have a custom Cutover and also a custom Microsoft Entra ID Cutover sequence defined.

If I now call Start-OdmAdDeviceCutover or Start-OdmAdDeviceEntraIDCutover I have no option to choose the custom sequence.

If I call Start-OdmAdDeviceCustomAction I have no option to specify the Cutover Credential, the Migration Profile, etc.

So is it actually possible to start a custom Cutover sequence with the correct parameters? If so an example would be highly appreciated.

  • Yes it is possible to run custom actions from the PowerShell API.  Customer can run a custom action using Start-OdmAdDeviceCustomAction cmdlet to achieve this.  In order for this to work, we must assign proper profiles on the devices for things like Credential Profile.  We can do this with the below commands

    set-odmaddevice -MigrationProfile

    set-odmaddevice -CutoverCredential

    set-odmaddevice -EntraIDJoinProfile

    Examples, below are some sample example on this.  

    Local Device Migration

    Set-OdmAdDevice -CutoverCredential 123

    Set-OdmAdDevice -NetWorkProfile 123

    Set-OdmAdDevice -MigrationProfile 123

    Start-OdmAdDeviceCustomAction -Device $DeviceObject -CustomAction MyCustomCutoverActionName1

     

    Cloud Device Migration

    We want to run a custom EntraIDJoin action:

    Set-OdmAdDevice -EntraIDJoinProfile 123

    Start-OdmAdDeviceCustomAction -Device $DeviceObject -CustomAction MyCustomEntraIDCutoverActionName1

  • Hey Lenny, thank you so much.

    What about the IgnoreReACLStatus switch? Will the custom action just ignore ReACL status anyways?