← Back to support

Sending email via Microsoft Graph

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.

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

  1. Register an application in Azure AD.
  2. Assign the required Graph API permissions.
  3. Grant admin consent for the application.
  4. Configure the settings in 2LRN4.
  5. 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.

Stuck?

Ask a question or book a short demo. We’ll help you move forward.