Announcements
Hi everyone,
I can add a Microsoft 365 Email Account in Dynamics 365 Business Central but when trying to send the test email, I have a very generic error:
When digging a little bit more in the error Outbox, this is what I get:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""">www.w3.org/.../strict.dtd"> <HTML><HEAD><TITLE>Not Found</TITLE> <META HTTP-EQUIV="Content-Type" Content="text/html; charset=us-ascii"></HEAD> <BODY><h2>Not Found</h2> <hr><p>HTTP Error 404. The requested resource is not found.</p> </BODY></HTML>
And when I click on "Investigate error":
"Email - Outlook API Client"(CodeUnit 4508).ProcessErrorMessageResponse line 4 - Email - Outlook REST API by Microsoft
"Email - Outlook API Client"(CodeUnit 4508).SendMailSingleRequest - Email - Outlook REST API by Microsoft
"Email - Outlook API Client"(CodeUnit 4508).SendEmail - Email - Outlook REST API by Microsoft
"Email - Outlook API Helper"(CodeUnit 4509).Send line 14 - Email - Outlook REST API by Microsoft
"Microsoft 365 Connector"(CodeUnit 4503).Send line 4 - Email - Microsoft 365 Connector by Microsoft
"Send Email"(CodeUnit 8890).OnRun(Trigger) line 5 - System Application by Microsoft
"Email Dispatcher"(CodeUnit 8888).OnRun(Trigger) line 29 - System Application by Microsoft
"Email Impl"(CodeUnit 8900).Send line 37 - System Application by Microsoft
"Email Impl"(CodeUnit 8900).Send line 4 - System Application by Microsoft
Email(CodeUnit 8901).Send line 2 - System Application by Microsoft
"Email Test Mail"(CodeUnit 8887).OnRun(Trigger) line 33 - System Application by Microsoft
The mailbox specified during the setup of the email account is a shared mailbox hosted in Outlook online I have created myself. I have setup the delegation rights and it does work from Outlook 365 (I can connect to the share mailbox and send email as the shared mailbox).
I'm out of idea to troubleshoot this issue
Any help would be appreciated. Thanks.
Hi
Can you please post your setup here? Is it similar to below?
Have you tried to set it up using SMTP against your on prem Exchange server?
Update:
My mailbox was on premise in a Hybrid Exchange 2016/O365 Configuration.
When I migrate my mailbox to O365, it does work. However I need this to be functionning for On premise Exchange 2016 users too.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156