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

Community site session details

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

Error: Cannot authenticate the credentials on server smtp.office365.com.

(0) ShareShare
ReportReport
Posted on by 481

I am trying to setup SMTP to make an automated workflow for sending emails in BC. When I try to send a test email (via Email Setup) I get this error:

Cannot authenticate the credentials on server smtp.office365.com.

Can I fix this error? Or is SMTP not the way to go anymore?

I have the same question (0)
  • Suggested answer
    Vaishnavi J Profile Picture
    3,060 on at
    RE: Error: Cannot authenticate the credentials on server smtp.office365.com.

    Hi,

    By any chance are you using Gmail or any other domain as SMTP setup. if yes then Business central does not support gmail accounts to be used as SMTP. Refer the below link for more information.

    docs.microsoft.com/.../admin-how-setup-email

    Note: You add email accounts through extensions that enable accounts from different providers to connect to Business Central. The standard extensions let you use accounts from Microsoft Exchange Online. However, other extensions that let you connect accounts from other providers, such as Gmail, might be available.

    If my answer was helpful to you, please verify it so that other users know it worked. Thank you very much

  • jdrco Profile Picture
    481 on at
    RE: Error: Cannot authenticate the credentials on server smtp.office365.com.

    where can I find more info about these extension? I want to try and use my own domain

  • Suggested answer
    Tabrez Ajaz Profile Picture
    785 on at
    RE: Error: Cannot authenticate the credentials on server smtp.office365.com.

    Hi jdrco,

    I have already written an article previously, and the article explains the detailed steps that required to follow while setting smtp either for Outlook or Gmail.

    Source URL

    Make sure you are using below settings for Outlook or Gmail.

    pastedimage1656968687270v1.png

    In case of Gmail make sure you have enables Less Secure App setting for your Gmail account.

  • Suggested answer
    MahGah Profile Picture
    15,529 on at
    RE: Error: Cannot authenticate the credentials on server smtp.office365.com.

    Hi

    In Email Accounts what is your default email? Let say for the email you want to sent the scenario assigned to "current user" then that "current user" did not authentication in BC to send email. Then it is a chance that you cannot send email.

    But first make sure to follow guideline by other experts.

  • jdrco Profile Picture
    481 on at
    RE: Error: Cannot authenticate the credentials on server smtp.office365.com.

    Is it possible to use send emails from my company domain? @companyname.com.

    This is what I am aiming for. What extension would I use for this?

  • Suggested answer
    YUN ZHU Profile Picture
    93,559 Super User 2025 Season 2 on at
    RE: Error: Cannot authenticate the credentials on server smtp.office365.com.

    Hi, you need to check your settings on the Email Accounts page.

    pastedimage1656978277209v1.png

    Try to use Send Test Email feature to find the problem.

    pastedimage1656978288430v2.png

    For example, my smtp setup:

    pastedimage1656978451126v6.png

    Send test mail.

    pastedimage1656978362943v3.png

    Confirm in Sent Emails.

    pastedimage1656978424592v5.png

    And in my outlook.

    pastedimage1656978501922v7.png

    Hope this helps.

    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

Responsible AI policies

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

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
Sumit Singh Profile Picture

Sumit Singh 2,056

#2
YUN ZHU Profile Picture

YUN ZHU 1,680 Super User 2025 Season 2

#3
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 1,679

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans