Scheduled job: Import Office 365 user subscriptions takes long time to run, then fails with error below in the node logs:
2018-11-03 12:48:56 (287) worker.7 worker.7 txid=71644925db69 SEVERE *** ERROR *** *** Script: SampO365Admin Unhandled exception: SyntaxError: Unexpected token: S
2018-11-03 12:49:00 (571) worker.7 worker.7 txid=71644925db69 SEVERE *** ERROR *** *** Script: SampO365Admin: Process failed
This happens if there is more than 80K Office 365 user subscriptions.
Steps to Reproduce
> Set up Microsoft Office 365 integration following doc:
> Wait till Scheduled job: Import Office 365 user subscriptions starts, or manually start it
> The job takes very long time to run, then fails eventually
The original issue is tracked by PRB1315631 and further performance issue is tracked by PRB1313913.
If you are able to upgrade, review the "Intended Fix Version" section below below to determine the versions that have a permanent fix.
Related Problem: PRB1315631