Configure Open Authorization (OAuth) 2.0

Last Updated: February 26, 2026

The steps below are for configuring OAuth 2.0 for Email Printing, Direct Email Printing, and Direct Guest Email Printing.

Process Overview

You perform these high-level procedures:

  1. Register the App.
  2. Set App Permissions.
  3. Set Authentication.
  4. Collect Application & Directory IDs.

1. Register the App

Follow these steps:

  1. Go to the Microsoft Entra admin center at https://entra.microsoft.com/#home, and log in.
  2. In the left-side navigation, expand Entra ID.
  3. Select App registrations.
  4. Select + New registration.

    Microsoft Entra admin center showing "+New registration" button.

  5. Name the app.
  6. Leave Supported account types set to Accounts in this organizational directory only.
  7. Select Register in the lower-left corner.

Microsoft Entra admin center showing "Register an application" page.

2. Set App Permissions

Follow these steps:

  1. In the Manage section of the side navigation, select API permissions.

    Microsoft Entra admin center showing Manage section and "API permissions" option.

  2. In the Configured permissions section, select + Add a permission.
  3. Select Microsoft Graph, and then select Delegated permissions.
  4. Find and expand the IMAP section, and then select the IMAP.AccessAsUser.All option.
  5. Select Add permissions.
  6. In the Configured permissions section, select + Add a permission.
  7. Select Microsoft Graph, and then select Delegated permissions.
  8. Find and expand the OpenId permissions section, and then select offline_access.
  9. Select Add permissions.

Microsoft Entra admin center showing "Request API permissions" page.

3. Set Authentication

Follow these steps:

  1. In the Manage section of the side navigation, select Authentication (Preview).

    Microsoft Entra admin center showing Manage section and Authentication option.

  2. Select the Settings tab.
  3. Select Enable for Allow public client flows.
  4. Leave Supported account types set to Accounts in this organizational directory only.
  5. Select Save.

Microsoft Entra admin center showing Settings tab.

4. Collect Application & Directory IDs

The Email Printing configuration requires the application and directory IDs from the app's Overview tab. Follow these steps to collect the necessary IDs to finish the configuration on the Vasion Print side:

  1. Select Overview from the left-side navigation.
  2. Expand the Essentials section.
  3. Copy the Application (client) ID and the Directory (tenant) ID.
  4. Give the IDs to the Vasion Print admin working on the configuration, or go back to the OAuth 2.0 Configuration section in the related topic:
    1. Email Printing.
    2. Direct Email Printing and Direct Email Guest Printing.

Microsoft Entra admin center showing Overview tab and Essentials section.