Symptoms


Sales order for Azure CSP subscription fails with the following error message:


APS Application Error:
500 Internal Server Error
[800002] MPN Id 112245 is not a valid partner on record. For 1 tier transactions MPN Id is not allowed.

Body: {
"error": "800002",
"message": "MPN Id 112245 is not a valid partner on record. For 1 tier transactions MPN Id is not allowed",
"category": "service",
"context": "400",
"packageId": "e8946b0b-1852-431f-9ad6-3609a64af24d",
"http_request": "POST /azure/aps/tenants"
}


Cause


Reseller of this customer is onboarded as "Azure Partner" in Odin Automation and MPN ID belong to this partner on Microsoft side. CSP Indirect Partner is not able to specify own MPN ID for subscriptions.


Resolution

Cancel the order and place a new one without any MPN ID specified.