Running readCSPAccounts.py script, the following error is faced:
"message": "It is impossible to find the APS resource with the identifier 6ab9fd15-48d6-4b4f-91f0-5eba7f9cd521 for the resource type 1000123. Make sure the service template belongs to the application instance."
readCSPAccounts.py script takes vendor_id as an argument, which is mapped to the corresponding service template. This ST includes some resource type that belongs to a different Office 365 application instance than the service template.
Contact Odin Technical Support to analyze the service templates structure and detect inconsistencies in resource types configuration.