+1 (855) 920-2583
Login

[Failed order] Provided sub-domain is not matched with available domains for parameter 'microsoft_domain'

Modified on: Fri, 17 Nov 2023 10:39 AM
Original Publishing Date:
2023-08-11

Symptoms


Sales order failed with the following error:


The order provisioning failed.
The last error is "Service Creation Failed: Task "Provisioning "Tenant" for APS application inhouse-products(
https://inhouse-products:8081/rest)"
 (id = xxxxxx) is failed with error: "'500 Internal Server Error' received from 'POST 
https://inhouse-products:8081/rest/tenant':
 400 Bad Request ConnectError(error_code=VAL_001, errors=[asset.params: Provided sub-domain is not matched with available domains for parameter 'microsoft_domain'.], params=null)


Cause

The issue is caused because of provided wrong sub-domain:


{"key": "microsoft_domain", "value": "123456.com"}


This value has an incorrect format, the correct way to fill the Microsoft subdomain field is the following: CustomerSubdomain.onmicrosoft.com.


e.g. The correct subdomain will be 123456.onmicrosoft.com


Resolution


Please cancel the Failed order in CloudBlue Commerce and place a new order with the correct subdomain.