Setting up Microsoft Azure app for authentication
Complete the steps given below to set up Microsoft Azure app for authentication:
- Log on to https://portal.azure.com/ with user having administrative rights.
- Go to Azure Active Directory > App Registration
- Register a new application under New registration.
- Register a new application with appropriate access types
- Select the newly created application and go to Authentication option and set ‘Allow public client flows’ to True
- Go to “API Permissions” option and add Microsoft Graph delegated permissions for the following:
- User.Read
- Mail.Read
- Mail.ReadWriteNote: Note the “client id” and “tenant id” for newly created application. This is required for OAuth authentication in EWSMail Action.
- Grant “admin consent” for all the permissions setup.
- Add “Office 365 Exchange Online” delegated permission for the following
EWS.AccessAsUser.All