Configure an OAuth app for Outlook and Microsoft 365

Registration of the application

To register an application in the Microsoft Entra Admin Center, you need to:

  1. Go to Microsoft Entra Admin Center and sign in with your Microsoft account

  2. Open the Identity section in the left menu, select Applications → App registrations, and click New registration.

  1. On the registration page, fill in the application settings: name and account type.

  1. Click Register and the application will be created.


Configure application

Configure permissions

In the API permissions menu (in the Manage section), add the following permissions from Microsoft Graph API → Delegated permissions:

email - access to the user's email address

profile - view name, avatar, etc.

offline_access - access to mail without active login

SMTP.Send, Mail.Send - send emails on behalf of the user

IMAP.AccessAsUser.All, Mail.ReadWrite - full access to the mailbox via IMAP

openid - user authentication


Creating Client Secret

In the Certificates & Secrets section:

  1. Click New client secret

  2. Enter the description and validity period.

  3. Click Add - the client secret will be generated.

After receiving the Client ID and Client Secret, create an Inbox to connect your Microsoft account to NovaTalks (see more - Email).

To complete the registration, add the Redirect URI, received after creating the Email channel. This address will be used to redirect the user back to NovaTalks after authentication.

Last updated