Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I am trying to get all emails sent from my D365 system to be sent from the same email address, i.e. Customerservice@myorganization.com. The idea would be that when users manually create an email record from inside the system and send it, it would send from the shared mailbox. This would not need to extend to user's Outlook emails. My first thought was to create a real time workflow that triggers on create and updates the "From" field on the email record to the desired mailbox. This works for outgoing emails, however, it causes an error with incoming emails. The error linked a MS support article (https://support.microsoft.com/en-us/help/4466423/unknownincomingemailintegrationerror-2147220891-exception-error-appear) that implies any real-time workflow or plugin can cause this error and only suggests removing the workflow/changing it to background. Business rules also aren't an option, as the "From" field is not enabled for business rules.
Does anyone have any other ideas to send all emails from the same, fixed address? Has anyone done this before? I am exploring programmatic options as well, but I am worried they will encounter the same error.
Are you saying that you want to send all emails by default from same email address? And for this you created a workflow which triggers on create/ update of email and then update the from to that email?
If you *just* want the email to be sent from specifc mailbox, have you put a check in your workflow to run it only on the outbound email?
Refer this blog:
Hope this helps.
Thanks for your response! We did try a check condition to only execute the workflow on outbound emails, but unfortunately this didn't resolve the issue. It looks like the fact that the workflow runs at all when an inbound email record is created, even when all the workflow does is run a check condition then exit, is enough to cause this issue.
We ended up writing a plug-in to do this functionality and it seems to be working without this error. Unfortunately I don't have more details on this since I didn't write it, one of my colleagues did.
Thanks for sharing this here. This will certainly help someone else facing the same/similar issue.
Hi Ravi - Could you ask your colleague to share the plugin code?
Business Applications communities