There are 10 MNE consoles deployed and some test jobs are running to verify the throttling limits. Migappworker is crashing at least once and there is a prompt to close the task and NME continues to run.
The thread is dropped and Migappworker continues to run after that. This results in no transferred data for a user, per crash, per collection.
You may see the following error in the log file:
3:42:16 AdFwd::Init() - PowerShell Result:
23:42:16 DEBUG: PowerShell init results:
00:12:18 ERROR: [5091-208-7-80131501]Failed to set folder visibility on mailbox 'User.Name@domain.com':
00:12:18 Source: System.Management.Automation
00:12:18 Description: Did not enter Office 365 connection semaphore within 1800 seconds.
00:12:18 Message: Unknown error 0x80131501
00:12:18 Error 80131501
12 threads were used for the migration. Assigned MaxTenantConcurrency for the Office365 tenant was 50.
This this indicates suboptimal choice of MaxPowerShellConcurrency setting, where the value is too high. A Migappworker thread was waiting for PowerShell connection to become available half an hour and then quit.
Half an hour is hardcoded in both PowerShell wrappers. This half hour is measured only as time spent waiting for other threads to free the connection, time spent waiting for Office 365 connection retires is not counted.
1- Add IdleConnectionTimeoutSeconds=30 under [PowerShell] section of the INI file.
2- Lower the threads from 12 to 4
3- Perform a new migration process with 4 threads