Symptoms
Sales order for Office 365 subscription fails with the following error:
The last error - "Service creation error: Platform error #error_code # -1, extype_id # -1, module_id #, The requested action is not allowed. Service creation error: Platform error #error_code # -1, extype_id # -1, module_id #, The requested action is not allowed. ".
From sitelog on Office 365 application endpoint, it can be seen that provisioning fails on attempt to create customer:
2020-05-03 15:48:47,534 <7804> [ 29] INFO flow : PC: Going to validate the customer's address. 2020-05-03 15:48:48,300 <7804> [ 29] INFO flow : PC: Going to create the account with id 'da2a82a1-a69c-4110-9791-9eda79e77a2e' in the Cloud. 2020-05-03 15:48:48,300 <7804> [ 29] INFO flow : Adapter operation 'CreateCustomer' attempt 1. 2020-05-03 15:48:49,816 <7804> [ 29] ERROR flow : Error occurred during customer creation. Partner Exception: Error Category: Forbidden Service Error Payload: Error code: 0 Error message: The requested action is not allowed Error data:
Cause
CSP Partner is not allowed to create tenants in country specified by a customer in contact information on Odin Automation side.
Resolution
Verify contact data information specified filled by a customer (Billing > Customers > Company Postal Address) and change values if they are incorrect.