Skip to main content
Skip table of contents

Mail service app registration for OAuth 2.0

The Mail service requires Modern Authentication. Currently censhare support Microsoft Graph as an external mail provider. Learn how to register the mail server application in Microsoft Azure.

Microsoft Graph

Microsoft Graph is the gateway to data and intelligence in Microsoft 365. It provides a unified programmability model that you can use to access data in Microsoft 365, Windows, and Enterprise Mobility + Security. Use the wealth of data in Microsoft Graph to build apps for organizations and consumers that interact with millions of users. You can use any Microsoft service through Microsoft Graph API, including mail services, teams, calendars, etc. 

Overview

To use Modern Authentication, you must register the application into the Microsoft Azure platform and generate client secrets. For more information, see the Offical Microsoft Identify Platform documentation or the Microsoft Quickstart on App registration.


Azure Platform overview with required functionalities in the side navigation. 

App registration

  1. To register your application, click select App registration > New registration.
  2. Enter the application name.
  3. Select Register.


After the registration is completed, the app registration's Overview pane displays.

Certificate & secrets

  1. From the side navigation, select Certificate & secrets to create credentials for the client application.
  2. Click New Client Secret:
    • Add a description.
    • Optionally, select an expiration for the secret or specify a custom lifetime.
    • Select Add.

API permissions

To use Microsoft Graph, you must provide permissions to access operations. 

  1. Select Add permission > Add a permission > Microsoft Graph.
  2. From the list of available permission, select the permissions below:



Authentication

Please, provide account types to access API to use basic operations on Microsoft Graph API.

  1. From the side navigation, select Authentication.
  2. Set the options to your needs.

Owners

  1. When the configuration is set, click Owners to show a list of users.
  2. Select a user to show the user ID and user information.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.