Get Exchange Mail Error - "The user name or password is incorrect."

Hi, I am using Studio 2018.4.4.

Previously on my machine I was able to run Exchange activities without issue.
Suddenly today, I was no longer able to run anymore and my studio kept giving me the following error even when the username and password is all correct and I am able to access my email via OWA with the exact same user ID and password

Hopefully someone might have an idea what could be causing this issue because I found no suitable solution to this issue til date.

Source: Get Exchange Mail Messages

Message: The user name or password is incorrect.

Exception Type: UiPath.Mail.ExchangeException

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
UiPath.Mail.ExchangeException: The user name or password is incorrect.

at UiPath.Mail.Exchange.Activities.ExchangeActivity`1.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)

Hi @ryuseihime,
What package versions are you using in the process?


I’m also having this issue after the last Windows update. I’m using UiPath Mail activities package 1.12.3
What we saw is that if we uninstall Windows update "KB5009545; KB5009543 it works again.

But would appreciate if we could have a better option than this one.


UiPath.Mail.Activities = 1.8.6

I don’t seem to have any of the mentioned KBs though…