Symptoms

Synchronize resource usage for APS application instance #1 (Azure Cloud Solution Provider) Periodic Task fails:

Could not get resource usage for resource with UUID '...': Could not invoke endpoint url 'https://...:10443/azure/aps/tenants/...' of application instance with UUID '...'. An unexpected error has occurred.

azure.log error:

ERROR [com.odin.azure.server.ErrorsHandler] (azure task-59) <APS-APP> Error: java.lang.IllegalArgumentException: resourceCollection null
at com.microsoft.store.partnercenter.enumerators.BaseResourceCollectionEnumerator.<init>(BaseResourceCollectionEnumerator.java:48) [partnersdk-odin-1.1.0.jar:]

Cause

Time or timezone mismatch between Azure CSP Endpoint and OA Management Node.

Resolution

Set the time and timezone equal on the AzureCSP Endpoint and OA Management Node.

Request #APSA-19663: "Add "204 No Content" handler for azure utilizations" has been addressed to Odin Development team to handle this exception gracefully.

Internal content