We are unable to read the mails from the Outlook after the client IT team enabled MFA in Outlook. We were using Microsoft O365 activities to read and send mails but since the MFA is enabled we are unable to due to the pop up asking us to validate via Text/Voice.
You should ask for service account without MFA. or Human in loop.
You can refer to below solutions for your issue.
What authentication are you using?
You can use appid and secret by creatinng an azure app which can work even with mfa
Cheers
Interactive authentication type won’t work when MFA is enabled. Either use Integration Service Connector or use App Id & Secret.
Thank you for the reply. I changed the authentication type from Interactive token to App ID and Secret. Now I am getting /me request is valid only with the delegated authentication flows. We have even changed the App permission from Delegated permission to Application permission but the error still persists
Hi @Suman_T
Could you please check your graph api permissions enabled in O365 account?
Is it set for all mailboxes or restricted to certain ones. If restricted, you can use this app if and secret to only read/write from/to specified mailbox in configuration.
Regards
Sonali