If I open https:\outlook.office.com in a browser with the robot user, I can see the shared folder and open its emails.
If I use activity “Microsoft Office 365 Scope” and “Get maiI” I can see the robots emails. But if I try to get mails from the shared mailbox I get an AccessDenied. To what and where do I need to grant access?
For using Microsoft Office 365 Scope and its activities, please make sure the setup steps are completed as explained in UiPath Docs:
Once the App Registration is set up as prescribed and the administrator has granted the correct permissions the mail retrieval should work.
As explained on the input section of the Get Mail document:
Account - (Optional) The email address with which to interact. This may include any shared mailbox to which the current user has access rights. If left blank, the current user’s account is assumed.
Then I got an Azure admin to do the same and now it is working, permissions is the key to success. We had to create an ApplicationSecretID to get it to work.
Below you will find my properties for the Microsoft Office 365 Scope