03/21/2023 07:16 AM - edited 03/21/2023 07:18 AM
We have setup OAuth for IncomingMailARS Job and we have an OAuth app setup in Azure AD. We also got the necessary Graph API permissions enabled in the application.
Whenever we are making any change to the SMTP configuration and Save it, the IncomingMail Job runs fine after that for about an hour. After 1 hour the job starts failing with error: "
03/22/2023 09:38 PM
03/23/2023 02:10 AM
We have tried the above two things. All Graph API permissions are enabled in the app. Also, the issue is that this thing works for an hour after making changes to the SMTP config. The emails are getting processed as I have confirmed. But, after one hour we start facing Expired access token error and Saviynt is not able to automatically refresh the access token.
Is there any detailed guide stating how to setup the OAuth app in Azure AD?. As I strongly feel that it has something to do with Oauth app or the mailbox folder level permissions itself. But, I can't go back to the client asking for enabling API and permissions and making changes just based on assumptions. They are looking for a guide/instruction manual from Saviynt.