To configure integration between your Bitrix24 account and Office365 service the OAuth 2.0 authorization protocol must be used.
To allow O365 integration Bitrix app must be registered in the Azure AD.

Select account type Multitenant. Once an app is created a New client secret must be added. Bitrix24 back end must be configured accordingly.

Add Redirect URI's and all necessary API permissions.
In Bitrix24 click on Mail, select Office365 and connect your O365 mailbox using AUTHENTICATION button.