Error when connecting Outlook account to n8n - MailboxNotEnabledForRESTAPI

Hi,

I’m trying to connect my Outlook account to n8n, but I’m getting the following error:

{
  "error": {
    "code": "MailboxNotEnabledForRESTAPI",
    "message": "The mailbox is either inactive, soft-deleted, or is hosted on-premise."
  }
}

Could you please help me understand what’s causing this issue and how I can connect my account properly?

Thank you in advance,
Thomas

Hello @major97tom i am also facing same issue if you found any solution plz share.
Thanks

I haven’t been able to find a solution so far. I was hoping someone could explain how to fix this. It seems like many people are experiencing the same problem, so I’m quite confused as to why there’s no clear solution. My Microsoft Exchange Online account appears to be set up correctly, so there shouldn’t be any issue on that side.

@major97tom i got the solution few minutes back previously i haven’t given yellow highlighted permission but it was worked after that it was gone suddenly. So i have cleared all time cache and cookies then after adding yellow highloghted permission we must try to reconnect to azure app with credentials so it will update new token and resolved the issue . N8N have cache issue i have faced other issues mutliple times after cache clearing it was working

@major97tom Again today i am getting same issue may be it is cache or microsoft issue

@major97tom if you found any resolution please share with me