Microsoft Graph allows you to send email messages on behalf of a Microsoft 365 account. This is commonly used for automated notifications, reports, or system messages from 2LRN4.
Note: Sending email via Microsoft Graph requires specific API permissions in Azure AD. Make sure these are configured correctly.
When to use Microsoft Graph?
- Automated system or report emails
- Integrations with Microsoft 365
- Situations where SMTP is not preferred
Requirements
- An Azure AD app registration
- Permission for Mail.Send
- Correctly configured tenant and client IDs
Send email using Microsoft Graph
- Register an application in Azure AD.
- Assign the required Graph API permissions.
- Grant admin consent for the application.
- Configure the settings in 2LRN4.
- Test sending an email.
Considerations
- Verify that emails are not marked as spam.
- Take Microsoft Graph rate limiting into account.
- Prefer using a functional or service account.
Need help configuring Microsoft Graph? Please contact support.