Get IMAP Email List: LOGIN failed

Hello Team,

im trying to read emails from outlook using “Get IMAP email list” activity, but however getting login failed error every time.

attaching the screen shot for activity properties.
Can anybody please help with this?

Thanks

Hi @Jaya_Magroriya,

Welcome to UiPath Community!

Your configuration looks correct. The issue is most likely due to Microsoft disabling basic authentication for IMAP, which causes the “LOGIN failed” error.

Try the following:
Set Use OAuth = True (recommended)

Or, if using password:
Ensure IMAP is enabled in Outlook
Use an App Password (if MFA is enabled)

In many cases, normal email/password login will not work anymore with Office 365.

Also, please blur/mask your password in the screenshot before sharing it on the forum for security reasons.

Hi @arjun.shiroya ,

After following all the step as you mentioned above, still getting error and unable to proceed.
Get IMAP Email List: AUTHENTICATE failed.

Thanks!

@Jaya_Magroriya,

Since you’re now getting “AUTHENTICATE failed” even with OAuth enabled, this usually means the OAuth setup is not fully configured.

Please check:

Make sure Integration Service / Outlook 365 connection is properly created and connected

Try enabling Use Integration Service = True and select the configured connection

Ensure your account has permission (no admin restriction on IMAP/OAuth)

Reconnect/sign in again to refresh the token

In modern UiPath setups, IMAP with manual OAuth often fails using Integration Service connection is the recommended approach

Also, good job masking your password :+1:

@Jaya_Magroriya

Are you trying to get Outlook personal account emails or Office 365 Outlook email?

Hi @Jaya_Magroriya

Welcome to the Community

IMAP is not supported for Outlook now → that’s why login fails.
Use Microsoft 365 or Outlook activity to fix the issue.

If Solution works for you please mark as solution & let me know if you still face the issue,

Thanks