Preparing the Script

In this step, you need to prepare the script that will be used for switching subscriptions.

To prepare the script, perform the following:

  1. Obtain the application package hosted-exchange-NNN.zip and upload it to your management node.
  2. Extract the contents of the package to a directory. Go to the directory and make sure it contains switch-to-hosted-exchange-app.py, the script that you need.

You can view all the options of the script by executing:

  • python switch-to-hosted-exchange-app.py -h
  • python switch-to-hosted-exchange-app.py switch-plan -h
  • python switch-to-hosted-exchange-app.py switch-app -h
  • python switch-to-hosted-exchange-app.py switch-cp -h

You can view log records of the script in this file: switch-to-hosted-exchange-app.log.