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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Failed to send email with shared mailbox

(0) ShareShare
ReportReport
Posted on by 65

Good morning,

I have connected a shared mailbox within Business Central, it seems to send test emails fine. When we try and send an email to a customer (with invoice attached) the below error is received:

Could not get access token. Please, try to log out and log in again.

Has anyone come across this error and knows of a way to fix? It was working fine, but has suddenly stopped working with no change. All users have 'send as' permission in exchange and are members of the shared mailbox.

Regards,

Matt

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    It could be that the token got expired. Is there anything specific to be found in the application event log file assuming you are working with the OnPrem v17 release?

    Thanks.

  • MadMax33 Profile Picture
    18 on at

    Hi Matt,

    have you resolve this issue?

    I also got this issue..

  • Samantha73 Profile Picture
    3,247 on at

    If this happens only when a system code unit sends an email such as in approval then each end user should use test email function and validate access. After validating once then system emails will function.  Assuming MFA is setup and O365 accounts are used instead of SMTP

  • Marjan  Profile Picture
    5 on at

    Did you managed to figure this out? I have the same problem

  • MGOODFELLOW Profile Picture
    15 on at

    Has anyone been able to resolve this?  We are facing same issue

  • Suggested answer
    Marjan Chabukovski Profile Picture
    10 on at

    I would recommend that for EACH and EVERY user that gets this error, they go to the Email Accounts page, select their account and use the "Send Test Email" action.

    This will refresh the TOKEN for them, and the message should be gone.

    Assuming O365 accounts are used instead of SMTP and you have valid licenses for those users.

  • Marjan Chabukovski Profile Picture
    10 on at

    I would recommend that for EACH and EVERY user that gets this error, they go to the Email Accounts page, select their account and use the "Send Test Email" action.

    This will refresh the TOKEN for them, and the message should be gone.

    Assuming O365 accounts are used instead of SMTP and you have valid licenses for those users.

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…

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 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans