Search Engine: Elastic

Article ID: 131969, created on Dec 26, 2017, last review on Dec 26, 2017


Azure subscription provisioning fails with the following error:

The order provisioning has failed.
The last error - "Service Creation Failed: Operation Automation service was not created. Task "Provisioning "Tenant" for APS application Azure Cloud Solution Provider" (id = 12345678) is failed with error: "APS Application Error:
500 Internal Server Error
[unknown] Provisioning: resource b18e39e2-d353-4da3-8cc4-357a84bfa404 of type 'tenants' ( for APS application 'Azure Cloud Solution Provider-4.2-51': An unexpected error has occurred..
Body: {
"error": "unknown",
"message": "An unexpected error has occurred.",
"category": "unknown",
"http_request": "POST /azure/aps/tenants to ''"
Please check the "Provisioning item" (details) and the last items of the "Service Status History" (details) of the associated subscriptions for more details. As soon as you fix the problem, resubmit this order for provisioning.
Additional information about this error in Odin Knowledge Base - Click here to find a solution

The following error is represented in /usr/local/azure/site/log on Azure application endpoint :

2017-01-02 12:34:56,194 INFO  [] (azure task-90) <CREST> Login to '' as native client '123f4a567-1c23-4c56-7f89-fbda12a345e6' on behalf of ''
2017-01-02 12:34:56,533 ERROR [] (azure task-90) <APS-APP> Error: java.lang.IllegalArgumentException: Error when trying to form the request URI
        at [partnersdk-odin-]
        at [partnersdk-odin-]
        at [partnersdk-odin-]


Software-related issue APSA-19331. Reseller has a space symbol at the end of 'MPN_ID' parameter. This symbol is passed by Azure application to Microsoft Online causing the request error in the process.


The issue is planned to be fixed in one of the future releases of Azure CSP application. Please contact your Technical Account Manager or Pooled Technical Associate ( in order to clarify the current status of the issue.

As a workaround, the space symbol should be removed from MPN_ID parameter:

PCP > Resellers > Login under required reseller > Customer CP > General > Edit

In the field Microsoft Partner Network ID remove the space character at the end of the value and press Save

Email subscription for changes to this article
Save as PDF