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

Bug in Email Account Setup?

(0) ShareShare
ReportReport
Posted on by 2,526
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
    7,565 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

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,594

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,594

#3
YUN ZHU Profile Picture

YUN ZHU 748 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans