Preconditions

Before importing tenant subscriptions, make sure that the following preconditions are satisfied on your CloudBlue Commerce installation:

  • You have a server that meets the requirements provided below. This server will be used for running the import scripts.

    • Python 2.7.5 or later is installed.
    • The poaupdater RPM package is installed. The RPM package must be taken from the CloudBlue Commerce distribution package or the YUM repository that belongs to your version of CloudBlue Commerce (for example, see the DISTRIBUTION_PACKAGE/modules/platform/OS/OS_VERSION/RPMS/ directory).
    • The pyPgSQL-2.5.1 (or higher) Python package is installed.
    • The mx 3.1.1 (or higher) Python package is installed.
    • Connections from this server to the Operations Public API are allowed.
    • Connections from this server to the Billing Public API are allowed.
    • Connections from this server to the APSC are allowed.
    • Connections from this server to the CloudBlue Commerce system database are allowed.
    • The readCSPAccounts.py and importSubsCSP.py import scripts are placed on this server. The import scripts can be obtained here: Microsoft365-x.x-x.app.zip\O365-Import.zip.

    We recommend that you use your Operations Management Node if a suitable version of Python is already installed on it. Otherwise, you must prepare a separate server for the import scripts.

  • Connections from the Microsoft 365 Application Endpoint Host to the Operations Public API are allowed.
  • The Microsoft 365 application is configured for the partner tenant whose tenants will be processed by the import scripts.
  • The Microsoft 365 service plans that will be used for importing tenant subscriptions must not have resource rates of non-Microsoft 365 resources (the readCSPAccounts.py script ignores such service plans).
  • The identifier of the required application instance of the Microsoft 365 application is prepared. To obtain the identifier, perform the following actions:

    1. In the PCP, go to Services > Applications and open the APS Connectors tab.
    2. Click the Microsoft 365 application.
    3. Select the Instances tab.
    4. Use the ID column.
  • The identifier of the required provider or reseller account is prepared.
  • The corresponding customer account is created for each tenant. You can create customer accounts by using any suitable method. For instance, you can use the CloudBlue Commerce Public API or the CloudBlue Commerce control panel.
  • Mappings between the customer accounts and their tenants are prepared.