If the stage2 command Office365RemoveUser fails, you might encounter this error message:
2020-05-13 07:53:29Z| 9644|wpoapp401| 15|ERROR| Execute|Unable to process command Office365RemoveUser: System.ApplicationException: Legal hold was enabled for [xxxx]! Successful assignment will be checked with next command retry.
at ArchiveShuttle.Module.Office365.Office365UserRemover.RemoveMsolUser(Office365RemoveUser commandParameter)
at ArchiveShuttle.Module.Office365.Office365UserRemover.ExecuteInternal(ModuleCommand command)
at ArchiveShuttle.Module.Office365.Office365PsBase.Execute(ModuleCommand command)

This is returned because LegalHold assignment is taking longer than expected to be applied via Office 365. Sometimes it can take X1 minutes to execute, so you may notice the Stage2 command Office365RemoveUser fails on stage2 with error above. To resolve this issue, you may retry the command manually after 15-30 minutes, or wait until it is retried automatically.
1 More information about LegalHold estimated time can be found here.

Print Friendly, PDF & Email