Activating e-mail sending via Microsoft Exchange Online

Prev Next

Add API permissions to your registered dox42 app in order to send e-mails via Microsoft Exchange Online.

Prerequisites

Steps

  1. Open the Microsoft Entra admin center: https://entra.microsoft.com

  2. Select Manifest in the navigation pane.

  3. Under the requiredResourceAccess section, you need to add a new JSON object with the following values:

    {
                "resourceAppId": "00000002-0000-0ff1-ce00-000000000000",
                "resourceAccess": [
                    {
                        "id": "3b5f3d61-589b-4a3c-a359-5dd4b5ee5bd5",
                        "type": "Scope"
                    },
                    {
                        "id": "dc890d15-9560-4a4c-9b7f-a736ec74ec40",
    
                        "type": "Role"
                    }
               ]
            }
  4. Select API permissions in the navigation pane.
    The following additional permissions should appear: 

    • Office 365 Exchange Online > EWS.AccessAsUser.All

    • Office 365 Exchange Online > full_access_as_app

      Overview of API permissions for docs42 Online in Azure Active Directory.

      Overview of API permissions for docs42 Online in Entra ID

  5. Select the Grant admin Consent for docs42 button.

  6. In the Entra ID section of your web.config file or your dox42 Online MAUI add a site with the following information:

    1. App ID

    2. Tenant ID

    3. the URL: https://outlook.office365.com/

  7. When setting up e-mail calls with Microsoft Exchange Online, you must add the parameter mailmethod="exchangeonline".

Result

You have activated the e-mail sending via Microsoft Exchange Online.