Symptoms

After an upgrade of Office 365 package and depending on the actions taken during O365 upgrade, the issue may also result in UOM changed to 'GB' and subscription recurring fees multiplied by 1048576, resulting in huge prices.

In case the Units of Measure of the resource are set to 'units', while the multiplier is set to 1048576, changing the limits of 'Office 365 Extra File Storage' resource (or any other resource with storage type), the error is displayed:

  "message": "Invalid IncludedQuantity 0 for item at index 0 for OfferId 53FC25F7-6639-4F78-BB44-3C2DFEC3ED40. Valid range is between MinimumQuantity 1 and MaximumQuantity 10000000.",
   "additionalNonlocalizableMessage": "",
   "error": "ApplicationUnknownError",
   "http_request": "GET /o365app/aps/subscriptions/576f78c2-bcfd-4a04-8d97-af7128e8b614/upsell"

Cause

The issue is acknowledged as APSA-17556. Starting from O365 version 16.8.3-81, UOM and multiplier are not changed by upgrade scripts for existing resources.

Resolution

Change the UOM of storage resources back to 'units' and set the resources multiplier back to 1.

To change the multiplier:

# curl -k -E /usr/local/pem/APS/certificates/poa.pem 'https://localhost:6308/aps/2/resources/?implementing(http://www.parallels.com/Office365/Addon/1.4),eq(provisioning_id,SHAREPOINTSTORAGE)'
{
   "aps":
    {
            "type": "http://www.parallels.com/Office365/Addon/1.4",
            "id": "e6cea87d-fcaf-4023-91a8-36896597bebb",
        ...
        "provisioning_id": "SHAREPOINTSTORAGE",
        "multiplier": 1048576,
        ...

# curl -k -E /usr/local/pem/APS/certificates/poa.pem 'https://localhost:6308/aps/2/resources/e6cea87d-fcaf-4023-91a8-36896597bebb' -X PUT -d '{"multiplier": 1}'

Internal content