Setting up Microsoft Azure app for authentication

Complete the steps given below to set up Microsoft Azure app for authentication:

  1. Log on to https://portal.azure.com/ with user having administrative rights.
  2. Go to Azure Active Directory > App Registration
  3. Register a new application under New registration.
  4. Register a new application with appropriate access types
  5. Select the newly created application and go to Authentication option and set ‘Allow public client flows’ to True
  6. Go to “API Permissions” option and add Microsoft Graph delegated permissions for the following:
    • User.Read
    • Mail.Read
    • Mail.ReadWrite
      Note: Note the “client id” and “tenant id” for newly created application. This is required for OAuth authentication in EWSMail Action.
  7. Grant “admin consent” for all the permissions setup.
  8. Add “Office 365 Exchange Online” delegated permission for the following

    EWS.AccessAsUser.All