Search Engine: Elastic

Article ID: 126337, created on Jul 27, 2015, last review on Dec 26, 2017

  • Applies to:
  • Operations Automation 6.0

Symptoms

There is an Office 365 subscription. The license limit of a license is increased or decreased in Odin Automation, but this change is not propagated to the Microsoft cloud. Odin Automation logs (for example, poa.debug.log) show that the license limit is changed in Odin Automation, but Office 365 application logs (for example, XML Payload logs) do not contain any information about this change.

Cause

The http://www.parallels.com/Office365/Subscription APS resource of the Office 365 subscription was not subscribed to the http://parallels.com/aps/events/pa/subscription/limits/changed and http://aps-standard.org/core/events/changed events.

Resolution

Important: This KB article is applicable to Office 365 version 6.2.

To fix this problem for all existing Office 365 subscriptions, run the fixLimitChangeSubscription.py script:

  1. Log in to Provider Control Panel, go to Services > Applications and write down the identifier of the Office 365 application.
  2. Upload the Office 365 application package to the Odin Automation Management Node.
  3. Unpack the package and extract the content of the O365-Import.zip file. Then, go to the directory where the content of the extracted O365-Import.zip file is placed.
  4. Execute the following command: python fixLimitChangeSubscription.py --o365-app-id <ID_OF_APPLICATION>.

The script will subscribe all existing Office 365 subscriptions to the events.

Note: You can also run the script on a separate host. This host must meets the requirements and the simplejson Python package must be installed on the host. See the following sections for details:

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF