Set the permissions of the Microsoft 365 application for Token Vault

  1. Select API permissions in the menu on the left.
  2. Click the Add a permission button in the right panel to configure permissions for the application.
  3. Add those permissions only that are required.
    Different usage scenarios and components require different permissions. To set up permissions for IMAP workflows, do the following:
    1. Click Microsoft Graph under the Commonly used Microsoft APIs group on the Request API permissions page.
      Microsoft Graph is shown on Request API Permissions page.
    2. Select Delegated permissions.
    3. Select the checkbox labeled IMAP.AccessAsUser.All in the IMAP permission group.
    4. Click Add Permissions to complete the process.