How to use O365 activity to read Emails from Shared Mail folder ?
Issue Description: In the Microsoft 365 activities, on an user's personal account, it is possible to retrieve mail but when tried on a shared account, an access denied error pops up. "Get Mail" uses parameters like these: Account = "xxx@xxx.co.jp"(The shared account) and Folder = "Inbox".
Resolution:
- Set Mail.Read.Shared API permission (delegated) in the Application
This permission allows the Application to read email that an user can access, including their own and shared mail.