The specified folder does not exist - Outlook

Hi Team,
I am going through RPA Associate Certification Course, I am struck at the first exercise
I am getting “Get Outlook Mail Messages: The specified folder does not exist” post-execution. Below are the details
i) I have used a Gmail id to log in to Studio
ii) I have used outlook mail id for exercise where it has Invoice emails sent as per example
iii) I mentioned credentials as “Maild Password” , , Does this correct , I wanted to clarify
iv) Mail folder I have given it as “Inbox”

While running I am getting mentioned error message at the “Get Outlook Mail Message” activity.
Below are product details
Studio version: UiPath Studio 2022.4.4, Community Edition
OS: Windows 10 Pro 64 bit
Outlook: Microsoft® Outlook® for Microsoft 365 MSO (Version 2208 Build 16.0.15601.20078) 32-bit

Appreciate your support here to move forward

Hello @Kiran_Edupuganti ,

I mentioned credentials as “Maild Password” , , Does this correct , I wanted to clarify

In “Get Outlook Mail Message” it doesn’t ask for credential, then where did u mention the credentials?
Pass Account, MailFolder and Messages (output variable) values and it will work for you.


Hi , Thanks.
Yes , Provided details Account , MailFolder and Messages. Below error encountered on execution

Source: Get Outlook Mail Messages

Message: Condition is not valid.

Exception Type: System.Runtime.InteropServices.COMException

How do I know Outlook connection is successful?
We have not provided anywhere password, how it will extract emails from a specific mail account?

Resolved this issue
a) I think the same mail id to be used for both outlook and orchestrator login
b) Filter condition to be given like this “[Subject]=’ Filtered text’”

Thanks, closing this thread.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.