Symptoms
Task Unprovisioning "Domain" for APS application Office 365
fails:
MS Graph API server returned an web exception 'The remote server returned an error: (400) Bad Request.
sitelog
error message:
ERROR aps_endpoint: MS Graph API server returned an web exception 'The remote server returned an error: (400) Bad Request.'.
System.Net.WebException: The remote server returned an error: (400) Bad Request.
ERROR flow: Exception
System.Net.WebException: MS Graph API server error: 'Domain deletion attemp failed.'.
Cause
There are 2 possible reasons:
Domain has Possible service issues status on the Microsoft side and cannot be processed correctly.
- Domain is marked as Default on the Microsoft side.
Resolution
Contact Odin Technical Support in order to safely process the failed tasks.