Get Outlook Mail Messages Error: 'The specified folder does not exist' for Shared Mailbox

Hello,

I am using the Get Outlook Mail Messages activity in UiPath, but I keep getting the following error:

“The specified folder does not exist.”

My scenario:

  • The account from which the robot needs to read emails is a shared mailbox.
  • I am trying to access the Inbox of this shared mailbox.

I have already tried specifying the folder as "Inbox" and also using the full path. If I just write "Inbox", the robot reads the Inbox of the main account, not the shared mailbox. However, when I try to specify the shared mailbox path, the error still occurs.

Could anyone advise how to properly configure Get Outlook Mail Messages to read emails from a shared mailbox?

Thank you in advance!

Hi @Mykhailo_Nedielkov

Have you tried printing the dictionary key value. Check weather the value have any spaces or casesensitive.

Hope it helps!!

Hi @Mykhailo_Nedielkov

In the properties of Get Outlook Mail Messages in Account give Fm.Support (PFGBG - BG) and in Mail Folder give Inbox.

Check the below thread for more info.
Outlook Shared Mail Problem - Help / Activities - UiPath Community Forum

Regards
Parvathy

Get Outlook Mail Messages cannot access shared mailboxes by specifying the mailbox path. The shared mailbox must be added to the Outlook profile first. In the activity, keep Account empty or set it to the main account and set MailFolder to Inbox only. UiPath will then read the Inbox of the shared mailbox automatically.

You need to write account name as well : Fm.Support (PFGBG - BG)
In mail folder : inbox

Hi @Mykhailo_Nedielkov

Please try to create folder on same account then try to read out the email from there and move the email

Cheers