MailKit.Security.AuthenticationException using IMAP using outlook

Any idea what causes this issue? woudl be appreciated thanks.
port: 993
server : “outlook.office365.com

RemoteException wrapping MailKit.Security.AuthenticationException: LOGIN failed.
at UiPath.Mail.Activities.GetMailActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.System.Activities.IAsyncCodeActivity.FinishExecution(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

@Jelrey

if you are trying to get emails from Outlook, better to try with Outlook Activities

Need outlook account configured in your machine

Hope this helps you

Thanks

I need to use get IMAP bro

@Jelrey

Okay, follow below link which has settings for Outlook

Hope this helps you

Thanks

just the same error bro

having the same issue, any fix yet? tried IMAP and POP. same problem