Search Engine: Elastic

Article ID: 130756, created on May 5, 2017, last review on Jul 22, 2017

  • Applies to:
  • Operations Automation 7.0

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}'

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 0871c0b47b3b86ae3b1af4c2942cd0ce 1941880841f714e458ae4dc3d9f3062d

Email subscription for changes to this article
Save as PDF