Deployment
v1 v2 (BETA) English French German Italian Portuguese Spanish
v1 v2 (BETA) English French German Italian Portuguese Spanish

Set up Microsoft Exchange Online

Register a Microsoft Entra application for MyQ email services through Exchange Online. MyQ can use the connection to send system and scanned-document email and to receive print jobs through Jobs via Email.

Important!

MyQ X sends email using SMTP with OAuth. SMTP AUTH must be enabled in Exchange Online for the tenant or mailbox used as the sender. If SMTP AUTH is disabled, MyQ cannot send email through Exchange Online.

Prerequisites

  • you can register applications in Microsoft Entra ID

  • you can add Microsoft Graph API permissions

  • SMTP AUTH is enabled for the Exchange Online tenant or sender mailbox

  • you know which mailbox will be used as the sender address in MyQ

The mailbox user must complete Microsoft device-code authorization after the connection is added in MyQ.

Register the Application in Microsoft Entra ID

  1. Sign in to the Microsoft Entra admin center at https://entra.microsoft.com/

  2. Go to Identity > Applications > App registrations.

  3. Select New registration.

    image-20260909-102612.png
  4. In Name, enter a name for the application.

    Examples: MyQ Connector, MyQ Universal Print, MyQ SharePoint, MyQ OneDrive, MyQ Exchange

  5. In Supported account types, select the account type required for your deployment.

  6. Leave Redirect URI empty.

    You add the required redirect URIs later in this procedure.

  7. Select Register.

The application is created.

In the Overview page of the application registration, copy and save the values:

  • Application (client) ID

  • Directory (tenant) ID

You enter these values when configuring the connection in MyQ.

Configure Authentication

Configure the application as a public client. No client secret is required.

  1. In the application registration, go to Manage > Authentication.

  2. Select Add a platform.

  3. Select Mobile and desktop applications.

  4. Select the following redirect URI:

    https://login.microsoftonline.com/common/oauth2/nativeclient

  5. Select Configure.

    image-20260909-102314.png
  6. In Advanced settings, enable Allow public client flows.

    Screenshot 2026-09-09 115623.png
  7. Save the changes.

API Permissions

Add the permissions required by MyQ.

  1. Go to Manage > API permissions.

  2. Select Add a permission.

  3. Select Microsoft Graph.

  4. Add the permissions/scopes according to the tables below.

Permissions

Microsoft Exchange Online requires the following runtime permissions:

Permission

API

Type

Purpose

User.Read

Microsoft Graph

Delegated

Sign in and read the mailbox user's profile. Required for authentication.

IMAP.AccessAsUser.All

Microsoft Graph

Delegated

Read, update, create, and delete email in the user's mailbox. Required for Jobs via Email using IMAP. Does not include sending email.

SMTP.Send

Microsoft Graph

Delegated

Send email from the user's mailbox. Required for outgoing mail.

Authentication Scope

Microsoft Exchange Online requires the following authentication scope:

Integration

Scope

Purpose

Microsoft Exchange Online

offline_access

Allow MyQ to renew access without requiring the mailbox user to authenticate every time. Required for continued access.

Now you are ready to set up Exchange Online in MyQ. See Connect to Microsoft Exchange Online.