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

Email setup error

(6) ShareShare
ReportReport
Posted on by 928

Hello,

am configuring email setup on Business Central (cloud version).
i add business gmail account like: ar.at.domain.org

i got an error when i did test email with this configuration:
 

 


this is the error:

any idea?

Regards,

David
 

  • Suggested answer
    Teagen Boll Profile Picture
    3,868 Super User 2026 Season 2 on at

    Usually if you get an authentication error with SMTP setup it's because you need to check your username and password. In your case the user name might not be the same as the email address. I have seen with gmail and other external SMTP accounts you may have a user name that could be separate from the email adddress being used such as a noreply@smtp.domain.com.

     

    You may want to check settings under google as well. There may be a workspace email or other email that you can try for authentication.

     

    Best,

     

    Teagen Boll
  • Suggested answer
    Grigorios Mavrogeorgis Profile Picture
    3,361 Super User 2026 Season 2 on at

    Hi, the 535 is Google refusing the password itself, nothing wrong on the BC side. Google stopped accepting the normal account password over SMTP a while back, so you need an App Password instead — turn on 2-Step Verification on that Google account first, then generate the 16 character app password and paste that one into the Password field. Rest of your setup looks fine.

    One thing I notice in your screenshot, Secure Connection is switched off. On 587 that should be on, Gmail wants STARTTLS. Maybe not what throws the 535 but it'll bite you straight after. Also if ar@ is a Workspace account and not a personal gmail, check with whoever administers the domain, they can block app passwords for the whole tenant and then nothing you do in BC will help. The OAuth 2.0 option in the connector is for Microsoft 365 as far as I know, not Google. Is it Workspace or personal gmail?

    Glad to help - follow up if anything is unclear.   

    â–º  If this solved it, marking it verified helps others too.       

    Regards,
    Grigorios Mavrogeorgis
    Business Central Consultant & AL Developer

    Work: Gmsoft Limited
    Blog:  insidebusinesscentral
    LinkedIn: linkedin.com/in/gregorymavrogeorgis

  • Suggested answer
    OussamaSabbouh Profile Picture
    19,350 Super User 2026 Season 2 on at

    Hello David,

    The 535 error is an authentication issue, and there are two things to correct in your setup. First, with smtp.gmail.com on port 587, enable Secure Connection/TLS; Google specifies TLS for port 587. Second, for Google Workspace you generally cannot use the normal mailbox password with Basic authentication anymore—Google ended username/password access for less-secure apps in 2025. If 2-Step Verification is enabled and your Workspace policy permits it, generate a Google App Password and enter that 16-character password in Business Central instead of the normal Gmail password. So your BC settings should be: Server = smtp.gmail.com, Port = 587, Authentication = Basic, Username = full Google Workspace email address, Password = App Password, Secure Connection = enabled. Business Central supports SMTP through its standard SMTP Connector. If your administrator has disabled App Passwords, you’ll need the Google Workspace administrator to provide an approved SMTP relay/authentication approach instead.

    Regards,
    Oussama Sabbouh

  • Suggested answer
    YUN ZHU Profile Picture
    103,085 Super User 2026 Season 2 on at

    As far as I know, due to 2-Step Verification, Gmail no longer directly supports SMTP; additional configuration is required. Hope the following can give you some hints.

    https://serversmtp.com/smtp-gmail-configuration/

     

    Thanks.

    ZHU

  • Suggested answer
    Mansi Soni Profile Picture
    10,422 Super User 2026 Season 2 on at

    Hello @David Tailor ,

    The SMTP 535 error indicates an authentication failure, rather than a Business Central posting/configuration issue. Since you are using a Gmail account in Business Central Cloud, check that you are not using basic username/password SMTP authentication; Google no longer supports third-party sign-ins using only username and password. You should configure Gmail using OAuth 2.0, with the correct Gmail account authorization and SMTP settings. If you are specifically using the SMTP Connector, also verify that the SMTP server, port, authentication method, and OAuth permissions are correctly configured.

    Hope this answer helps you!

    Regards,
    Mansi Soni

  • Suggested answer
    Simon Kimani Profile Picture
    174 on at

    Hello @David Tailor ,

     

    The SMTP error 535 usually means Gmail is rejecting the credentials being used for authentication.

    If you are using a Gmail or Google Workspace account with Basic authentication, try using a Google App Password instead of your normal account password.

     

    We used the following SMTP settings in Business Central:

     

    - Server Address: smtp.gmail.com

    - Server Port: 587

    - Authentication: Basic

    - User Name: Full Gmail/Google Workspace email address

    - Password: Google App Password

    - Secure Connection: Enabled

     

    Before creating an App Password, make sure 2-Step Verification is enabled for the Google account. Once enabled, create an App Password and use it in the Password field in Business Central.

     

    We tested this setup and were able to send the test email successfully.

     

    We have also documented the complete setup here:

    https://acumens.com/Blog/GmailSmtpSetupBusinessCentralAppPassword/

     

    Hope this helps.

  • David Tailor Profile Picture
    928 on at

    Hi Simon,

    thank you for sharing this step by step link.
    does it requires an Exchange Online user license for the users logging in to Business Central?

    Regards,

    David

  • Suggested answer
    AV-10061131-0 Profile Picture
    4 on at

    Hi David,

    The error SMTP 535 indicates that the SMTP server is rejecting the authentication request because the credentials provided are not accepted.

    Since you are using a Gmail account, please verify the following:

    • The username is the full email address.
    • The password is correct.
    • If the Google account has Two-Factor Authentication (MFA) enabled, you must use a Google App Password instead of the regular account password.
    • Make sure that Secure Connection (TLS/STARTTLS) is enabled when using smtp.gmail.com on port 587.

    This is a common issue with Gmail SMTP configurations and is usually resolved by using an App Password and enabling the secure connection settings.

    Kind regards,
    Admir Vukovic

  • Suggested answer
    Simon Kimani Profile Picture
    174 on at

    @David Tailor Users logged into BC do not require an exchange online account. We have this exact setup running for a client.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 719 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 410 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 369 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans