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...
Answered

Bug in Email Account Setup?

(0) ShareShare
ReportReport
Posted on by 2,977 Super User 2026 Season 1
Hi Community,
 
I wanted to confirm if in this new update of Business Central, is there a bug in the Email Account Setup Wizard? When I create a new Email Account using SMTP with OAuth 2.0, and then keep the "Use custom app registration" as disabled, then also it throws me this error - "Client Id and Client Secret must be provided before authentication."

                    
 
And when I choose the Custom App thing, then it now requires Global Admin consent just like we do it while registering Entra App for APIs. This makes the process even worse that everytime I am adding an email account in SMTP, I can't add it without the Global Admin consent. 
 
Is this a new bug or am I doing something wrong?
 
Any help would be appreciated.
I have the same question (0)
  • Suggested answer
    OussamaSabbouh Profile Picture
    11,024 Super User 2026 Season 1 on at
    Hello,
     
    This is not a bug: in recent Business Central versions, SMTP with OAuth 2.0 always requires an Entra ID app registration. When Use custom app registration is OFF, BC still expects a client ID/secret, but Microsoft no longer provides a built-in OAuth app for SMTP, so the wizard throws that error. When you enable custom app registration, Global Admin consent is mandatory because SMTP OAuth needs Exchange permissions that regular users can’t grant. There’s no workaround for this. If you want to avoid Global Admin involvement and this complexity, don’t use SMTP at all—use Email Account Type = Microsoft 365, which handles OAuth internally and is the recommended approach going forward.
    Regards,
    Oussama Sabbouh
  • Verified answer
    YUN ZHU Profile Picture
    98,059 Super User 2026 Season 1 on at
    Hi, I've discussed this issue with other experts, and I hope the information provided by Adam Petersson (https://www.linkedin.com/in/adam-petersson-01a52355/) below can offer you some hints.
     
    Thanks.
    ZHU

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 2,091 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,032 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 946 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans