O365 "Provisioning "Subscription" task fails: The TenantID you have provided is invalid

Symptoms

An attempt to reset MOP admin password performed when tenant is not ready yet - as a result the task Provisioning "Subscription" for APS application Microsoft Office 365 fails with the following error and not rescheduled:

Cause

APSA-13400: Attempt to reset MOP admin password perfromed when tenant is still not ready.

Resolution

The issue has been fixed in Office365 6.4 in scope of the request APSA-13400. Please update Office365 to version 6.4 to fix the issue completely. To workaround the issue to existing tasks, restart the failed tasks after tenant provisioning is completed.