Effective October 1, 2022, Microsoft began disabling Basic authentication for Outlook, EWS, RPS, POP, IMAP, and EAS protocols in Exchange Online. This means that for TeleMessage import sources using Exchange will no longer work with simple username and password authentication, instead OAuth 2.0 authentication must be used.
Register application in Azure
For Import Service on a Media Repository server to use OAuth 2.0, an application needs to be registered in Azure.
Step 1 - Go to https://portal.azure.com
Step 2 - Select the directory (tenant) where the Exchange service is running. Click on Switch directory in the upper-right corner drop-down menu. Then select the appropriate directory from the list.
Step 3 - Go to Azure Active Directory. If it's not on the opening page, use the search or find it under All services.
Step 4 - Select App registrations on the left, and click on New registration.
Step 5 - Enter a name of your choice, then click Register.
Step 6 - Create a new secret for the application.
Step 7 - Copy and save the secret's value. It is only shown for a short period after created. It cannot be viewed later.
Step 8 - The two other values we need from the application is the application (client) id and the directory (tenant) id. Both can be copied
...
from Overview:
Configure TeleMessage import source
On the Import source configuration page, select OAuth 2.0 for Authentication Mode, and set Application (Client) ID, Application (Client) Secret, Directory (Tenant) ID to their respective values from the registered Azure application above.