Hello,
I have a project where I am using the “Get Desktop Outlook Mail Messages” activity. It works fine in attended mode, but when I publish the RPA and run it in unattended mode, I get this error.
“The specified folder does not exist.”
I have another project running on Orchestrator with the same activity and same configurations, but I am getting this error every time for my current project.
I have tried using “Inbox”.ToString as well, but it didn’t help at all.
1. Try the below solution
Kill the Outlook app using - Kill Process Activity
Open the Outlook app using - Start Process Activity
Perform Get Outlook Mail Message
2. Try to provide your account along with the Inbox
Example: your-account\Inbox
Outlook may not be fully configured or running, causing the folder error. Make sure Outlook is installed and configured for the unattended robot user. Use the full folder path like “Inbox” or “Top of Information Store\Inbox”. Also, check if the mailbox profile exists for the unattended robot.
If you found helpful please mark as a solution. Thanks
Happy Automation with UiPath
Thanks for reaching out to help. But none of the above solutions helped.
I used the Background Process template, which didn’t work even after creating a new solution. I was using the latest complete release, etc.
Then I tried it with the foreground application, and it worked. Don’t know what the true reason might be.