Configuring a Microsoft 365 email provider using OAuth2 | Qlik Alerting Help
Skip to main content Skip to complementary content

Configuring a Microsoft 365 email provider using OAuth2

Last updated: 8/28/2026

To use Microsoft 365 as your email provider in Qlik Alerting, you need to provide the tenant ID, client ID, and client secret. These details are required for OAuth 2.0 authentication, which provides secure communication between Qlik Alerting and Microsoft 365.

Information note

If you use the Microsoft 365 SMTP service, check the Outlook service limits for a single mailbox in Microsoft Graph service-specific throttling limits.

Before you begin

  • You must have administrator access in Microsoft Entra ID.

  • You must be able to create and configure application registrations.

Obtaining tenant ID, client ID, and client secret

To find the tenant ID, log in to the Microsoft Entra admin center and go to Identity > Overview. The Tenant ID is shown on the Properties tab.

To obtain the client ID and client secret, you need to create a new application registration in Microsoft Entra ID. Once the application is created, do the following:

  1. Go to the application overview page and copy the Application (client) ID.

  2. Go to Certificates & secrets > Client secrets and select New client secret. Copy the secret and store it safely.

For more information, see:

Add Microsoft Graph permissions

You also need to add Microsoft Graph permission for sending emails.

  1. In the Microsoft Entra admin center, go to API permissions and click Add a permission.

  2. Under Microsoft APIs, click Microsoft Graph and select Application permissions.

  3. Add the permission Mail.Send.

For more information, see Application permission to Microsoft Graph.

Configuring the email server

Configure the email server during the initial installation of Qlik Alerting (Qlik Alerting installation). To edit these settings later, go to Admin > Channels.

Do the following:

  1. Select authentication method Microsoft 365.

  2. For Tenant ID, enter the unique identifier assigned to your Microsoft 365 tenant.

  3. Enter the Client ID and Client secret for your Microsoft Entra ID application registration. These are used to authenticate with the email service.

  4. Enter the Default sender email address. This should be a UserPrincipalName (UPN) for a Microsoft Entra ID user account. The email address that recipients will see in the From field of the email will be the user's full email address.

    Information note

    You can restrict the sender to specific mailboxes. For more information, see Limiting application permissions to specific Exchange Online mailboxes.

  5. Enter the Test email address for validating the connection and receiving test emails.

  6. Click Test Connection. A message appears at the bottom of the screen and a test email is sent if the configuration is valid.
  7. Click Save to save the configuration.
Information noteMake sure that the firewall settings allow communication with the mail server. If the connection fails, review logs in C:\ProgramData\QlikAlerting\email-messenger and open the most recent log file.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!