Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Best way to handle setting up a workflow that sends emails be sent from a non user?

Posted on by 5

We have a workflow configured to automatically send emails based on certain actions. Currently, the workflow email is setup with the From field as one of the admin users that is doing the customizations in Dynamics. We need to update the From field to be from an email address that is currently not associated to a user. Can anyone help me confirm the process I believe is the way to handle it? :)

Do we need to create a new user with the desired email address (the organizations emails are hosted through Google) and assign that user a Dynamics license? (This user would only be used for sending emails in Dynamics) And from there, we configure the mailbox settings for this account and enable and approve? Then obviously update the workflows.

Wanted to confirm this is the right way! Thanks in advance!!

  • Suggested answer
    AriaConsulting Profile Picture
    AriaConsulting 2,655 on at
    RE: Best way to handle setting up a workflow that sends emails be sent from a non user?

    Hi,

    I assume the D365 instance and Gmail have been integrated using OAuth 2.0 and setup as either IMAP or POP and all of the other required setup (docs.microsoft.com/.../connect-gmail-oauth2) has been done.  If so, you do need to create an account with the desired email address, but you don't need to assign a license if you setup the user as a "system account".  I have 2 such users in my environment, 1 for D365 specifically (creatively called "Dynamics@....")

    pastedimage1627671984643v1.png

    and another for Power Automate generically (with an equally fanciful email name). Make sure those system accounts are added to the correct roles and groups though otherwise they won't work.

  • Suggested answer
    Ramit Paul Profile Picture
    Ramit Paul 22,300 Most Valuable Professional on at
    RE: Best way to handle setting up a workflow that sends emails be sent from a non user?

    Your assumptions are correct.

    Its just one user needs to be there with the email ID as smtp setup.

    You can keep your admin account with that email Id or you can create a new user with admin rights.

    Both will work.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans