It is first needed to set up Microsoft Exchange Online in Microsoft Azure, and then configure it in MyQ.

Microsoft Exchange Online setup in Microsoft Azure

  1. Log in to the Microsoft Azure portal and go to App registrations.

    MS Azure - App registrations
  2. Click New Registration and fill in the new app details:

    1. Name - The name for this application (this can be changed later). For example, MS Exchange Online.

    2. Supported account types - Who can use this application or access this API? Select the Accounts in any organizational directory (Any Azure AD directory - Multitenant) option.

    3. Redirect URI (optional) -  The authentication response is returned to this URI after successfully authenticating the user. Select the Public client/native (mobile&desktop) option from the drop-down.

    4. Click Register.

      MS Azure - new app registration properties
  3. The new app overview page opens. Copy the Application (client) ID and the Directory (tenant) ID, as they are needed for the connection to MyQ.

    MS Azure - new app overview
  4. On the left-hand menu, click Manifest and modify and Save the JSON with the following:

    "allowPublicClient": true,
        "replyUrlsWithType": [
            {
                "url": "https://login.microsoftonline.com/common/oauth2/nativeclient",
                "type": "InstalledClient"
            }
        ],
        "requiredResourceAccess": [
            {
                "resourceAppId": "00000003-0000-0000-c000-000000000000",
                "resourceAccess": [
                    {
                        "id": "258f6531-6087-4cc4-bb90-092c5fb3ed3f",
                        "type": "Scope"
                    },
                    {
                        "id": "d7b7f2d9-0f45-4ea1-9d42-e50810c06991",
                        "type": "Scope"
                    },
                    {
                        "id": "652390e4-393a-48de-9484-05f9b1212954",
                        "type": "Scope"
                    },
                    {
                        "id": "7427e0e9-2fba-42fe-b0c0-848c9e6a8182",
                        "type": "Scope"
                    }
                ]
            }
        ],
    JSON
  5. On the left-hand menu, click Authentication. In Advanced settings, under Allow public client flows, select Yes next to Enable the following mobile and desktop flows, and then click Save at the top.

    MS Exchange Online authentication settings

Microsoft Exchange Online setup in MyQ

  1. Log in to the MyQ web administrator interface, and go to MyQ, Settings, External Systems.

  2. In the External Systems section, click +Add and select Microsoft Exchange Online from the list.

    Adding MS Exchange Online in External Systems
  3. In the pop-up window, fill in the required fields:

    1. Title - add a name for your Microsoft Exchange Online external system; for example, MS Exchange Online.

    2. Client ID - the Application (client) ID you copied during the MS Azure setup.

    3. Tenant ID - the Directory (tenant) ID you copied during the MS Azure setup.

  4. Click OK.

    Microsoft Exchange Online setup in MyQ
  5. Copy the Code from the pop-up window, click on the URL, enter the code and follow any other instructions. Once done, MyQ is connected to MS Exchange Online. (There is a 15min timeout for confirming the code).

    Microsoft Exchange Online code pop-up

Microsoft Exchange Online is now connected to MyQ and is ready to be used in the Network settings tab, as an Outgoing SMTP server and in the Jobs settings tab, in Jobs via Email as a POP3 or IMAP server.