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

Announcements

No record found.

News and Announcements icon
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,219 Super User 2026 Season 1 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
    11,757 Super User 2026 Season 1 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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,946 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,177 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 555 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans