How to fix the error "Code: ErrorAccessDenied Message: Access to OData is disabled." when running automations with the mail-related O365 activity?
This error would usually show up when there is an Application Access Policy configured in Azure AD that would restrict access to the Mailbox used in the O365 activity.
Resolution:
- Work with the Exchange Online/Outlook365 administrator for the organization to ensure that the app has permission to access the mailbox resource.
- More information is mentioned in Limit Mailbox Access - Handling API Errors .