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

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

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee 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,378 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

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 August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 720 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 436 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 409 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans