Symptoms

Office 365 Unprovisioning "Task" fails with the following output:

 Authorization Failed

In the Office 365 sitelog the following message appears:

Customer 784cxxxx-1xx6-4xxa-bxxc-xxxx3dcb5f28 is being deactivated (the environment is supposed to be a TIP)
ERROR aps_endpoint: Microsoft.Store.PartnerCenter.Exceptions.PartnerException: Authorization Failed

Cause

In the Office 365 instance settings Customer Deactivation Behavior set as Test in Production for Production environment.

Resolution

Change "Customer Deactivation Behavior" in the Office 365 instance settings by the following way:

Odin Automation > Services > Applications > Office 365 > Instances > Choose Instance > Click "Edit" and change Customer Deactivation Behavior from Test in Production to "Production Account".

Internal content