Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!

How to configure Qlik Cloud to use MS365 to send emails

100% helpful (2/2)
cancel
Showing results for 
Search instead for 
Did you mean: 
FabioSanchesRibeiro

How to configure Qlik Cloud to use MS365 to send emails

Last Update:

Jan 30, 2025 8:28:39 AM

Updated By:

Sonja_Bauernfeind

Created date:

Feb 25, 2025 4:03:37 AM

This article documents how to configure a Qlik tenant to send emails using MS365.

Prerequisite

An account with an active Office365 license is required for this setup.

 

MS365 Setup

First, we configure the MS365 tenant to support the configuration.

Once you have an account set up on the MS365 side, let's go to the Microsoft Tenant settings:

  1. Open the Microsoft Entra admin center (Home - Microsoft Entra admin center)
    1. Go to Overview
    2. In the overview screen, you will see your Tenant ID. Copy this value, you will need it to configure your Qlik Cloud Tenant.
    3. Click Application to register an application
    4. Click + New registration

      register an application.png

    5. Name your application
    6. Select the Supported account type that matches your needs
    7. Click Register to register your application
  2. Create a Client Credential 
    1. Click Certificates & Secrets
    2. Click + New client secret
    3. Describe (name) the client secret and select its expiration value
    4. Click Add to finish this step

      add a client secret.png

    5. After creating your client secret, the following is displayed:

      client secret value.png

    6. Copy the value and save it in a safe place. You will need it to complete your Qlik Cloud Tenant setup.

  3. Enabling the right APIs:
    1. Go to API Permissions
    2. Click + Add Permission
    3. Select Microsoft Graph
    4. Select Application permissions
    5. In the Select permissions field look for Mail.Send
    6. Select the Mail.Send permission
      Setting Application permissions to Mail.Send grants the application to use any email address from your organization.
    7. Click Add permission
    8. Click Grant admin consent for <MS Tenant Name> to finish this step

      api permissions.png

  4. Select an Owner for the application
    1. Click + Add Owner
    2. Type the name of the User who will be the Owner
    3. Mark the user and click Select 

 

Qlik Cloud Tenant Setup

  1. Open your Administration activity center (see Accessing the Administration activity center)
  2. Go to the Email Provider section
  3. Select Microsoft 365

    email provider.png

  4. Insert all previously set information:
    1. Sender email address: Insert an email registered on Microsoft. This can be your email address or another dedicated account created specifically for this purpose. 
    2. Tenant ID: Obtained from the Microsoft Entra Overview section.
    3. Client ID: The Application (client) ID you previously created.
    4. Client secret: The Client secret value which you saved in the previous setup steps.

      set up microsoft 365.png

  5. Save the changes
  6. Send a test email

 

Environment

  • Qlik Cloud Analytics
  • Microsoft Office 365

 

The information in this article is provided as-is and will be used at your discretion. Depending on the tool(s) used, customization(s), and/or other factors, ongoing support on the solution below may not be provided by Qlik Support.
Comments
chad1
Partner - Contributor
Partner - Contributor

Hello, I follow your instruction step by step but upon testing sending email i got a response like this in send-test-email api 

{
"connectionFailed": true,
"message": "Error during throttled email request",
"success": false
}

FabioSanchesRibeiro

Hi @chad1, I hope you are doing well.

Please review step 3: Enabling the right APIs.

It seems the permissions were not properly configured.

Send.Email permission should work; However, it will depend on the account that you are using.

Here in this article we have a report based on the same issue:

Solved: Error sending E-Mail via Office 365 OAuth2 - Qlik Community - 2467258

Regards,

Version history
Last update:
‎2025-01-30 08:28 AM
Updated by: