This KB article contains a list of error messages which might be returned by the scripts used for conversion from the Syndication Partner Program to the Cloud Solution Provider Program (see Odin Automation Premium Office 365 Integration Provider's Guide >> Conversion from Syndication Partner Program to CSP Program). You can use the list to analyse and resolve conversion problems.
Table of Contents
prepareMOSI2CSP.py
Error Message Template | Cause | Resolution |
Failed to find the record in the cache file for the MOSI customer {ID}. | This problem is related to the mosi2csp_mapping.csv file, which is an auxiliary file created and used by the conversion scripts. The file contains mappings between customer accounts and their customer tenants. Mappings are added to the file in the preparation step of the conversion procedure. The mapping between a customer account and its customer tenant is added to the file only if the customer tenant is ready for conversion. As a result, a customer tenant can be rolled back only if it was prepared for conversion. The problem is that the customer tenant cannot be rolled back because the mosi2csp_mapping.csv auxiliary file does not contain any info of the customer tenant. |
Make sure that the customer tenant is in the group of the customer tenants which were previously prepared for conversion. |
Unable to prepare the OA customer account {ID} because the Office 365 Tenant resource {ID} has the status {ID} whereas the expected status is 'aps:ready'. |
A customer tenant of a customer account is represented by one or more APS resources of the http://www.parallels.com/Office365/Tenant/1.2 APS type (tenant APS resources). The problem is that the tenant APS resource of the customer account is not ready for conversion because the status of the tenant APS resource differs from aps:ready. Note the following:
|
Try finding and restarting failed or pending tasks of the customer account. If this does not help, create a third-line support ticket. |
Unable to prepare the OA customer account {ID} (MOSI customer {ID}) because there are no Office 365 offers. | The customer tenant of the customer account does not have any active cloud subscription. | Either make some of the cloud subscriptions active through Odin Automation or remove the customer account from the input CSV file of the script. |
The primary domain of the MOSI customer {ID} (OA customer account {ID}) is ambiguous. | A customer tenant of a customer account might be represented by several APS resources of the http://www.parallels.com/Office365/Tenant/1.2 APS type (tenant APS resources). One of the tenant APS resources must be a master tenant APS resource. The properties subdomain and default_admin_login of a master tenant APS resource must not be null, whereas the same properties of all other tenant APS resources must be null. The problem is that there is one or more other tenant APS resources whose subdomain propertes are not null. Note the following:
|
Set the subdomain property of all other tenant APS resources to null. For example:
|
There is one or more tasks related with the subscription(s) {ID} of the OA customer account. | The Office 365 subscriptions cannot pass validation because there are pending or failed tasks related to them. | Make sure that all tasks of the Office 365 subscriptions are processed. |
Failed to roll back the MOSI customer {ID}: {REASON}. | The customer tenant is not rolled back due to an error. | Analyse and fix the error. |
Failed to resolve the MS tenant id of the MOSI customer {ID}: {REASON}. | The Microsoft Tenant ID of the customer tenant cannot be obtained due to an error. | Analyse and fix the error. |
Unable to disable subscriptions {ID}: {REASON}. | The Office 365 subscriptions cannot be put on administrative hold due to an error. | Analyse and fix the error. |
Unable to prepare OA customer account {ID}: {REASON}. | The customer account cannot be prepared for conversion due to an error. | Analyse and fix the error. |
Unable to obtain cloud subscriptions: {REASON}. | Cloud subscriptions of customer tenants of a customer account cannot be obtained from the Microsoft cloud due to an error. | Analyse and fix the error. |
Unable to prepare the OA customer account {ID} (MOSI customer {ID}) because there is no Office 365 default domain available. | A customer tenant of a customer account might be represented by several APS resources of the http://www.parallels.com/Office365/Tenant/1.2 APS type (tenant APS resources). One of the tenant APS resources must be a master tenant APS resource. The properties subdomain and default_admin_login of a master tenant APS resource must not be null, whereas the same properties of all other tenant APS resources must be null. The problem is that the default_admin_login property of the master tenant APS resource of the customer tenant is null. Note the following:
|
Set the default_admin_login property of the master tenant APS resource of the customer tenant. For example:
|
The domain {DOMAIN} uses the DNS hosting service from the subscription {ID}. Either switch the DNS hosting service to the 'External' mode or move the domain to a separate domain subscription. | The customer tenant cannot be converted because it has the Office 365 subscription whose DNS Hosting resource is in use by the domain. In order not to affect customer data, the DNS Hosting resource must be processed manually taking into account the specifics of the resource. |
Analyse the domain and consider the following options:
|
The subscription {ID} has a nonzero limit for the resource {ID}. The resource does not relate to the Office 365 application and the conversion of such a subscription is not supported. Either exclude the customer account from the conversion list or set the limit of the resource to zero if you are completely sure that customer data will not be affected. | Office 365 subscriptions including non-Office 365 resources can be processed by the script only if the limits of the resources are zero. In order not to affect customer data, the resource must be processed manually taking into account the specifics of the resource. |
Analyse the resource. If setting the limit of the resource to zero does not affect customer data, set the limit to zero. Otherwise, contact the Odin Automation support team to obtain assistance in processing the resource. |
Unable to prepare the OA customer account {ID}: two subscriptions {ID} and {ID} have the same MOSI Customer Id {ID}. | A customer account can have several Office 365 APS 1.2 subscriptions and each of the Office 365 APS 1.2 subscriptions must belong to its own customer tenant. The problem is that the two Office 365 APS 1.2 subscriptions belong to the same customer tenant. |
Create a third-line support ticket. |
|
The script tries to find Office 365 subscriptions (Syndication Partner Program) of the customer account, but nothing is found. Possible reasons:
|
Check all Office 365 subscriptions of the customer account. Check the input parameters of the script. |
completeMOSI2CSP.py
Error Message Template | Cause | Resolution |
Unable to import the ms customer with tenant id {ID}. {REASON}. | The customer tenant cannot be processed by the script due to an error. | Analyse and fix the error. |
|
All Office 365 subscriptions of customer tenants of a customer account are put on administrative hold to prevent the customer tenants from being modified during conversion. Possible reasons:
|
Cancel the Office 365 subscription. If it is necessary, subscribe the customer account again when the conversion of the customer tenants of the customer account is completed. |
Empty ""IN"" operator value list passed. | In order to switch all Office 365 subscriptions of a customer tenant of a customer account from Office 365 syndication service plans to Office 365 CSP service plans, the script tries to find suitable Office 365 CSP service plans in the allowed upgrade lists of the Office 365 syndication service plans.
The error appears when the script cannot find suitable Office 365 CSP service plans in the allowed upgrade lists of the Office 365 syndication service plans. |
Check all Office 365 subscriptions of the customer account, and make sure that the Office 365 syndication service plans of the Office 365 subscriptions contain suitable Office 365 CSP service plans in their allowed upgrade lists. For example:
|
The source subscription '...' includes the non-Office 365 resources [...] which are not represented in the target service template '...'. | In order to switch all Office 365 subscriptions of a customer tenant of a customer account from Office 365 syndication service plans to Office 365 CSP service plans, the script tries to find suitable Office 365 CSP service plans in the allowed upgrade lists of the Office 365 syndication service plans. The problem is that the allowed upgrade list of the Office 365 syndication service plan of the Ofice 365 subscription contains Office 365 CSP service plans, but none of them includes the same non-Office 365 resources as the Office 365 syndication service plan includes. |
Compare the Office 365 syndication service plan/service template and the Office 365 CSP service plans/service templates; include all the necessary non-Office 365 resources into the Office 365 CSP service plans/service templates. |
The cloud subscriptions ... do not belong to any subscription in Odin Automation. If necessary, you can import them using the import scripts. | The error appears when a customer tenant has cloud subscriptions which do not belong to any subscription in Odin Automation. | If you need to import the cloud subscriptions of the customer tenant into Odin Automation, you can do this by running the import scripts readCSPAccounts.py and importSubsCSP.py. |
importSubsCSP.py
Error Message Template | Cause | Resolution |
Unable to find any OA customer account for the customer tenant with the CSP Id {ID}. | The customer account of the customer tenant cannot be found. | Check if the customer tenant belongs to the application instance specified in the --csp-app-instance-id input parameter of the script. If the customer tenant belongs to the application instance, create a third-line ticket. |
The zero limit is specified for the resource rate {ID} of the service plan {ID}. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. The limits of resource rates of Office 365 resources must not be set to zero since the limits of cloud subscritions are always nonzero. | Check and fix the data of the row. |
The service plan {ID} does not contain the resource rate {ID}. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. The Office 365 APS 2 service plan specified in the OSAServicePlanId column of the row does not have the resource rate specified in the ResourceRateLimits column of the row. | Check and fix the data of the row. |
Offer limits in SA and in the Microsoft cloud do not match... | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. The limits of the cloud subscriptions specified in the MSSubscriptionIDs column of the row and the resource limits specified in the ResourceRateLimits column of the row do not match. | Check and fix the data of the row. |
Cannot load the customer data for the tenant: {REASON}. | Properties of the customer tenant cannot be obtained from the Microsoft cloud due to an error. | Analyse and fix the error. |
The SA customer account {ID} does not exist. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. The customer account specified in the OSACustomerID column of the row does not exist in Odin Automation. | Check and fix the data of the row. |
It is impossible to validate the existence of the CSP customer {ID} due to the following error: {REASON}. | Properties of the customer tenant cannot be obtained from the Microsoft cloud due to an error. | Analyse and fix the error. |
It is impossible to validate the existence of the SA customer account {ID} due to the following error: {REASON}. | The AccountDetailsGet_API OA Billing method returns an error when the script tries to obtain properties of the customer account. | Analyse and fix the error. |
The CSP customer {ID} does not exist. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. The customer tenant specified in the CSPAccountId column of the row does not exist in the Microsoft cloud. | Check and fix the data of the row. |
The DB inconsistency detected: OsaCustomerAccount found {NUMBER}, should be '1'. | There is a database inconsistency. | Create a third-line support ticket. |
The CSP customer {ID} does not have the CSP subscription with the identifier {ID}. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. The customer tenant does not have the cloud subscription specified in the MSSubscriptionIDs column of the row. | Check and fix the data of the row. |
The subscription {ID} has the add-on {ID} which was not included in the list of the subscriptions being imported. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. A cloud subscription and all of its addon cloud subscriptions must be mapped to the same Office 365 APS 2 service plan. The problem is that the cloud subscription has the addon cloud subscription, but the MSSubscriptionIDs column of the row only contains the cloud subscription. |
Check and fix the data of the row. |
The parent subscription {ID} of the add-on {ID} was not included in the list of the subscriptions being imported. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. A cloud subscription and all of its addon cloud subscriptions must be mapped to the same Office 365 APS 2 service plan. The problem is that the cloud subscription has the addon cloud subscription, but the MSSubscriptionIDs column of the row only contains the addon cloud subscription. |
Check and fix the data of the row. |
The service plan {ID} does not contain the period with the identifier {ID}. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. The Office 365 APS 2 service plan specified in the OSAServicePlanId column of the row does not have the subscription period specified in the OSAPlanPeriodID column of the row. | Check and fix the data of the row. |
The plan period {ID} of the service plan {ID} is trial but trial plan periods are not supported. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. The CSP Program does not support trial cloud subscriptions, but the subscription period specified in the OSAPlanPeriodID column of the row is trial. | Check and fix the data of the row. |
The property {PROPERTY} is not specified. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. The column of the row is empty. | Specify a value depending on the purpose of the column. |
Subscriptions [{ID1},{ID2}…] have duplicates in the list of the subscriptions being imported. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. There are duplicates of cloud subscriptions in the MSSubscriptionIDs column of the row. | Remove all duplicates from the MSSubscriptionIDs column of the row. |
The CSP customer {ID} is already bound to the SA customer account {ID}. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. The customer tenant specified in the CSPAccountId column of the row is already bound to the customer account in Odin Automation. | Check and fix the data of the row. |
The cloud subscriptions [{ID1},{ID2}…] belong to the same offer {CSPOfferID} in the list of the subscriptions being imported. | Cloud subscriptions of the same offer must not be placed into the same Office 365 APS 2 subscription. | Split the cloud subscriptions so that each cloud subscription is placed into its own Office 365 APS 2 subscription. For instance:
|
|
The Office 365 APS 2 service plan specified in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions cannot be found. Possible reasons:
|
Check and correct the following:
|
The CSP subscription {ID} already exists in the local database and is bound to the SA customer account with the internal identifier {ID}. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. The customer tenant as well as its cloud subscriptions is converted, but the cloud subscription of the customer tenant is specified in the MSSubscriptionIDs column of the row. | Check and fix the data of the row. |
The included amount of the resource rate {ID} does not match the limit of the cloud subscription {ID}. | There is an invalid row in the input CSV file containing mappings between Office 365 APS 2 service plans and cloud subscriptions. The problem is that the included amount of the resource rate specified in the ResourceRateLimits column of the row is greater than the limit of the cloud subscription specified in the MSSubscriptionIDs column of the row. | Check and fix the data of the row. |
The included amount of the resource rate {ID} is not zero whereas the corresponding cloud subscription {ID} is disabled. |
The following ways of mapping cloud subscriptions to Office 365 APS 2 service plans are possible:
|
Split the cloud subscriptions specified in the MSSubscriptionIDs column of the row into active and suspended subscriptions. For instance:
|
The resource rates [{ID1}, {ID2}…] of the service plan {ID} are not suitable because the same resource rate must not be simultaneously used by active and disabled cloud subscriptions. |
Active and suspended cloud subscriptions can be mapped to the same Office 365 APS 2 service plan if the following requirements are satisfied:
|
Split the row containing the active and suspended cloud subscriptions into separate rows where each row contains either active or suspended subscriptions (see the example above). |