@JiriHlucil,
Here's what we've found so far. It seems to depend on how the shared mailbox and folder were added to the local Outlook instance. In my case, there were added directly in the Outlook client. If I open Outlook in the browser, the shared mailbox doesn't show up. In this situation, I actually have to turn
Cached Exchange Mode off for that specific mailbox in my Outlook client. When I do that, the code works as expected and the subfolder can be found.
I imagine if the shared mailbox and it's subfolder are added to your account from the Exchange side, then Cached Exchange Mode should be able to be enabled and the code would work.
To be clear, you only need to turn it off for that specific shared mailbox entry in your Outlook client.
Does that make sense?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------