Office365 Collecting Tenant Data procedure fails with the following error:
[root@mn ~]# python readCSPAccounts.py --o365APS2-app-instance-id 16 --vendor-id 1000004 .. "Unable to prepare the import data because of error: The appropriate service plan can not be found."
There are several possible reasons:
Service Plancontains more than 1 active subscription period.
unlimitedvalue for resource rates . Resource rate max limit should be valid limit.
- The resource in the target service plan is not included to any resource category
Use a single subscription period for each Service Plan that is used in the import and make sure resource rates have valid max limit and correct configuration.
If the license type or resource rate is missing, add the offer according to documentation and restart the readcspaccounts.py