Microsoft Graph integration
Integrations
Microsoft has officially announced that,next year it will fully disable sending mail using account passwords (SMTP Basic Authentication). This means all systems still relying on traditional SMTP + username/password to send mail will face interruption risk.
If your system still sends via smtp.office365.com and uses regular user account passwords to send mail, this mode will soon stop working. You must complete the replacement in advance and switch to Microsoft Graph API + Azure App Registration as the modern secure architecture. This is not just a "recommendation", but a "requirement".
Below are the complete migration steps to help you create an App Registration in Azure and obtain the necessary API information for FIRST LINE.
1. Create an App Registration in Azure
This step creates a "dedicated application identity" that your system will use to authenticate to Microsoft Graph and obtain mail-sending permissions.
1. Create an App Registration
Sign in to the Azure Portal
Go to Azure Active Directory โ App registrations
Click New registration
Configure:
Name: Your application name (e.g.: Mail Sender App)
Supported account types: Select "Accounts in this organizational directory only"
Press Register
2. Configure mail-sending permission (Mail.Send)
In your App go to API Permissions
Click Add a permission
Select Microsoft Graph
Select Application permissions(not Delegated)
Find Mail.Send and check
Press Add permissions
Finally perform Grant admin consent
This will allow the App to send mail on behalf of the organization
3. Create a Client Secret (used for your system to obtain a Token)
Go to Certificates & secrets
Click New client secret
Set a description and expiration
Immediately copy the "Value" after creation
This is your system's only chance to obtain the Graph API Token value
2. The three key pieces of information you will need
From the Azure App Registration Overview and Secrets you will get:
Client ID (Application ID)
Tenant ID
Client Secret
Your system will use these three values to perform the OAuth 2.0 Client Credentials Flow โ paste them into the corresponding mailbox account in FIRST LINE to test.
Last updated