Symptoms
Office365 prepareMOSI2CSP.py
script returns the following error:
Unable to prepare the OA customer account '5432' (MOSI customer '3b6c35ed-...-50512acd5aa2') because there is no Office 365 default domain available.
Cause
adminLogin
property value is set to null
for affected accounts.
Resolution
For APS 1.2 target account:
Find the following property in the
csts
table of storage.db Office365 Endpoint DB:"adminLogin": null,
Find the correct administrator login on the Microsoft side:
PS C:\Users\pem_admin\Desktop> Get-MsolUser -TenantId 9e4865d6-1873-4d49-9639-85d7dcc9723c UserPrincipalName admin@kpn1670816.onmicrosoft.com
- Replace the empty adminLogin property with the real one in the storage.db
- Use the "Edit \ Submit" option on the "Office365" tab of CCPv1 (note, this is for APS 1.2 only)
- Launch the prepareMOSI2CSP.py script again
For APS 2.0 target account:
Refer to the [Troubleshooting] Conversion from Syndication Partner Program to CSP Program public KB article to obtain the solution.