Configuring the Microsoft 365 Subdomain Form for Billing
The Microsoft 365 subdomain form is a form in which customers must specify their initial subdomains (for instance, customer.onmicrosoft.com) on purchasing Microsoft 365 services.
This form is displayed in the following places in Billing:
- the 'Add New Order' wizards of the Provider, Reseller, and Customer Control Panels;
- the online store;
To configure the Microsoft 365 subdomain form, perform these actions:
-
Prepare the Billing customization files that belong to your application version:
- Upload
Microsoft365-x.xx.app.zip
to your workstation. - Extract the contents of the application package.
- Go to the
Microsoft365-x.xx.app
directory. - Extract the contents of
Customization.zip
and go to theCustomization
directory.
- Upload
-
Install the Billing control panel customizations:
- Log on to the Billing Application Server (OABLINFE) as root.
-
Create the
/usr/local/bm/customization.o365
directory and copy the following files to this directory:BM_ProvisioningParams.xml
SubscrParam_CDB_UpgradeResourceList.xml
SubscrParam_UpgradeList.xml
- Go to the
/usr/local/bm/conf/wnd/BM/
directory and create thecustomization.O365
symbolic link pointing to the/usr/local/bm/customization.o365
directory. To create the link, use theln -s /usr/local/bm/customization.o365 customization.O365
command. -
Create the
/usr/local/bm/conf/html/o365
directory and copy the following files to the directory:script.js
cowi_script.js
-
Copy the English localization file and the localization files of any other languages you need to the
/usr/local/bm/conf/locale
directory:locale.en.o365
(English)locale.de.o365
(German)locale.es.o365
(Spanish)locale.fr.o365
(French)locale.it.o365
(Italian)locale.ja.o365
(Japanese)locale.nl.o365
(Dutch)locale.pt.o365
(Portuguese)locale.ru.o365
(Russian)
- Restart the pba service by using the
service pba restart
command.
-
Install the Billing online store customizations:
- Go to Products > Online Store and select your online store for editing.
-
Create the custom layout template o365_provision:
- Go to Products > Online Store and select the Layout Templates tab.
- Click Add New Layout Template.
-
Specify the following:
- Layout ID: The o365_provision value must be specified.
- Template: Use the contents of the
o365_provision.tpl.txt
file.
- Click Save.
-
Prepare the standard layout template resourcegate:
- Go to Products > Online Store and select the Layout Templates tab.
- If the resourcegate layout template is not in the list of layout templates, add it by clicking Add Standard Layout.
- In the list of layout templates, click the resourcegate layout template.
- Click Edit.
- In the Template field, replace the existing contents with the contents of the
o365_resourcegate.tpl.txt
file. - Click Save.
-
Add the custom Microsoft 365 styles to your online store:
- Go to Products > Online Store and select the Design tab.
- Click Edit.
-
In the Customized CSS field, add the Microsoft 365 styles of the
o365.css.txt
file to the existing styles.Important: Do not remove or change styles not related to the Microsoft 365 application.
- Click Save.
-
Add the English translations and the translations of any other languages you need to your online store:
- Go to Products > Online Store and select the More tab.
- Click Languages.
- Select the required language by clicking the respective link in the Language ID / Language Name column.
-
Click Import Dictionary and select the required dictionary file:
locale-bmstore.en
(English)locale-bmstore.de
(German)locale-bmstore.es
(Spanish)locale-bmstore.fr
(French)locale-bmstore.it
(Italian)locale-bmstore.ja
(Japanese)locale-bmstore.nl
(Dutch)locale-bmstore.pt
(Portuguese)locale-bmstore.ru
(Russian)
- Select the Overwrite Translations checkbox.
- Click Save.
- Go to Products > Online Store and click Synchronize Now.
Important: Before configuring the Microsoft 365 subdomain form, ensure the aps_defaults_o365 service parameter is added to all Microsoft 365 service templates. See Creating Microsoft 365 Service Templates to learn more about this service parameter.