"Importing Tenant Subscriptions" procedure (
importSubsCSP.py script) fails with the following error message:
2017-02-10 07:44:25.893 [ERROR] API Error: Importing the Subscription for the Account #1000327 failed: HTTP Error 500: Internal Server Error(response contains struct value with missing non-optional member: Result [response : struct mapped to type ResponseData`1]).
2017-02-10 07:44:20,995 [ 48] ERROR aps_endpoint: TenantsController.Post finished by exception System.ApplicationException: Unable to register MS Account ID 11473aae-3828-4236-801d-8c8585288de3: the ID f133f2cb-e41b-4041-83f4-b1928a8966e6 has been already registered for APS Account 2a152b7b-2a0c-4fd8-8ecf-b8df70572d18
Software-related issue #APSA-15600: "readCSPAccounts.py and importSubsCSP.py do not work as expected". It has been fixed in Office 365 16.6.1 application package version.
Issue explanation: This case can be faced when
importCSPAccounts.py is used to the OA account, which already has active Office365 subscription, even based on another offer. Import script does not expect to see already existing entity in the
Customer table of O365 Endpoint DB.
Update Office365 APS application, using the Office 365 16.6