- If the app has application permissions.
- If the app has the appropriate delegated permissions from one user, and another user has shared a mail folder with that user, or, has given delegated access to that user. For more details, see Get Outlook messages in a shared or delegated folder.
- Least privileged Microsoft Graph permission to access the action via application:
Mail.ReadBasic.All. - Higher Microsoft Graph permission to access the action via application:
Mail.ReadWrite,Mail.Read.
External DocumentationTo learn more, visit the Microsoft Outlook documentation.
Parameters
| Parameter | Description |
|---|---|
| Mail Folder ID | The ID of the mailFolder to get details for. |
| User ID or User Principal Name | The ID or userPrincipalName of the user. |