web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

IMAP with OAuth2.0 in Business Central (mailrobot)

(7) ShareShare
ReportReport
Posted on by 12
Hello everybody,

I am trying to set up a mailrobot in Business Central using a shared mailbox and Azure (Entra ID) App registration.

I am not a Business Central expert so I have a few questions to ask (please check the screenshot).




If I use OAuth2.0 Authentication for IMAP in Business Central do I still need to have these values: IMAP Hostname, IMAP User, IMAP Passwort? Can I use only IMAP user (E-Mail) and how?

What represents the field OAuth2 Folder field (OAuth2 Ordner) and how to find it?

Kindest regards

Leon
I have the same question (0)
  • Suggested answer
    Rishabh Kanaskar Profile Picture
    6,154 on at
    Hi,
     
    If you use OAuth2.0 for IMAP in Business Central, you still need to provide the IMAP Hostname and IMAP User. The hostname tells Business Central which mail server to connect to, and the user is the email address of the mailbox (shared or individual). The IMAP password is not required because OAuth replaces it.
     
    The OAuth2 Folder field represents the IMAP folder name from which Business Central will read emails. Commonly, this is “Inbox,” but you can specify any folder name if you want to process emails from a different folder. To find it, check the folder name in the mailbox via Outlook or OWA and use the exact name (case-sensitive). For shared mailboxes, ensure the folder exists under the shared mailbox hierarchy.
     
    Thanks
    Rishabh
  • Sumit Singh Profile Picture
    10,729 on at
    Hi Rishabh,
     
    This query is raised in June 2024, may be it's already resolved by user as good amount of time already passed. Once someone responded on these old queries, other experts also follow and it came into latest feed which should be avoided as per my humble opinion.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,719

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 812 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 728 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans