Preconditions
Before importing tenant subscriptions, make sure the following preconditions are satisfied on your Odin Automation installation:
-
The host where you are going to run the import scripts meets the requirements provided below. You can use the OA Operations Management Node, but if the version of Python is older than 2.7.5, use another host.
- Python 2.7.5 or later is installed on the host.
- The poaupdater RPM package is installed on the host. The RPM package must be taken from the Odin Automation distribution package/YUM repository that belongs to your version of Odin Automation (for example, see the
DISTRIBUTION_PACKAGE/modules/platform/OS/OS_VERSION/RPMS/
directory). - The pyPgSQL-2.5.1 (or higher) Python package is installed on the host.
- The mx 3.1.1 (or higher) Python package is installed on the host.
- Connections from the host to the OA Operations Public API are allowed.
- Connections from the host to the OA Billing Public API are allowed.
- Connections from the host to the APSC are allowed.
- Connections from the host to the Odin Automation system database are allowed.
- The
readCSPAccounts.py
andimportSubsCSP.py
import scripts are placed on the host. The import scripts can be obtained here:Office365-x.x-x.app.zip
\O365-Import.zip
.
- Connections from the Office 365 Application Endpoint Host to the OA Operations Public API are allowed.
- The Office 365 application is configured for the partner tenant whose tenants will be processed by the import scripts.
- The Office 365 service plans that will be used for importing tenant subscriptions must not have resource rates of non-Office 365 resources (the
readCSPAccounts.py
script ignores such service plans). -
The identifier of the required application instance of the Office 365 application is prepared. To obtain the identifier, perform the following actions:
- In PCP, go to Services > Applications and open the APS Connectors tab.
- Click on the Office 365 application.
- Select the Instances tab.
- 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 Odin Automation Public API or the Odin Automation control panel.
- Mappings between the customer accounts and their tenants are prepared.