Last Modified: 01.06.2022
Note: Starting from April 2020 Office365 Cloud application for working online with Word, Excel, PowerPoint and etc. is called Microsoft 365. This chapter uses both names equally.
To configure integration between your Bitrix24 account with Office365 service, you need to register or have an Office365 account
(email@example.com) with subscription Office365 for Business
. Private LiveID account with Office265 subscription for Home are not suitable! Please, request your Bitrix24 admin for assistance to create a working Office365 account.
Getting Client ID and Key
For Office 365, indicate Client ID and Key parameters in the Social Website Integration module
(Settings > System Settings > Module Settings > Social Website Integration).
The following actions are required:
- Inside Azure Active Directory go to the
All services section
(you will need a Microsoft account - firstname.lastname@example.org, standard LiveID login is not suitable), to
and click New registration:
registering an application
- indicate the specified name and supported types of accounts.
Registered application must have
Multitenancy is a software architecture in which a single application serves multiple client tenants.
Specify the address, indicated in the Social Website Integration module settings in the field
- Select the section API permissions in the app settings and select the permissions required for your app:
For example, for profile entry, you'll need the permission profile and for offline access - offline-access.
For correct integration with Bitrix24.Drive and Bitrix24.Docs, the app will need the following permissions:
- in Microsoft Graph -
- in SharePoint -
user files read and write
Next, select Certificates & secrets in the app settings, select the button +New client secret, complete Description, set expiration deadline and click
After the key is added, its displayed in the
Key value is entered in the Key field in the section Social services - Office365 ( Settings > System Settings > Module Settings > Social Website Integration)
Important! Created key value is displayed only once, if you didn't copy the key value and switch to another section, you'll have to create the key again.
Client ID field value for the app can be taken in the Overview section:
Tenant field - is optional, sets a limit for restricted document editing - for users that are members of account's company. Also, tenant owner can assign such restriction inside Office365 as well.
Office365 account, usually has a typical format
user - user name, and
company - company name in Office365 business account.
As a result, Tenant in out case will be
Azure (MFA) Multifactorial authentication allows protecting access to data and applications. In Azure Active Directory such feature is available for protecting global administrators accounts. In Microsoft 365 Business it allows to fully use MFA with application of conditional access, to request multifactorial authenticity verification.
Azure (Azure MFA) deployment for application is described in detail in Microsoft documentation.
Working with documents
To work with documents using Office365 you will need the following:
- Have an existing account or create a new
Starting from April 2020 Office365 Cloud application for working online with Word, Excel, PowerPoint and etc. is called Microsoft 365. This chapter uses both names equally.
(email@example.com) with a Office365 for Business subscription.
- Enabled Office365 settings in the Social Website Integration module.
- Activate the option
Enable document editing using external services (Google Docs, MS Office Online etc.)
for the Drive module Settings > System Settings > Module settings > Drive).