Microsoft Graph integration
This feature is currently still in Beta stage, being accepted and tested by our partners and not officially released yet. However, if you have an actual need, you can still use it for current scenarios and to experience the new authentication method.
Microsoft has officially announced that,next year it will fully discontinue sending mail using account passwords (SMTP Basic Authentication). This means all systems that still rely on traditional SMTP + username/password to send mail will face interruption risk.
If your system still sends mail through smtp.office365.com and uses regular user account passwords to send messages, this mode will soon become invalid. You must complete the replacement in advance and switch to Microsoft Graph API + Azure App Registration modern secure architecture.
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.” Your system will use this identity to authenticate with Microsoft Graph and obtain send-mail permissions in the future.
1. Create an App Registration
Sign in to the Azure Portal
Go to Azure Active Directory → App registrations
Click New registration
Settings:
Name: Your application name (e.g., Mail Sender App)
Supported account types: Select “Accounts in this organizational directory only”
Press Register
2. Configure send-mail 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 execute Grant admin consent
This will allow the App to send mail on behalf of the organization
3. Create a Client Secret (used by the system to obtain a Token)
Go to Certificates & secrets
Click New client secret
Set description and expiration
Immediately copy the “Value” after creation
This is your system’s only opportunity 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 obtain:
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