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

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Dynamics 365 Outlook Auto Set Regarding

(1) ShareShare
ReportReport
Posted on by 45

Hello, I need some help. I am a new admin for dynamics 365. I have setup Dynamics 365 Outlook App tracking and it is working very well. It gathers all the info that we need but, the only option i cant figure out is how to have the "Set Regarding" Automatically set to the opportunity associated with that email account. I'm not sure why im having such a hard time figuring this out. I realize sometimes there is not an opportunity associated and that's fine from time to time. If anyone has any known working solutions to this, please post it and i will try it. Thanks in advance.

I have the same question (0)
  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi Partner,

    Sorry that there is no OOB way to set regarding to opportunity automatically.

    You should use Power Automate and here are the steps.

    1.Create a new power automate and set its trigger condition to when create a record.

    pastedimage1602227963764v1.png

    2.Add a new condition, set the condition as "If Trackingtoken is not null". This condition will check if the email is tracked from outlook, if the "tracking token" contains data, so the email is from outlook.

    pastedimage1602228206944v2.png

    3.Some information needs to be sorted out next.

    a).What's the email address are your tracking in outlook? Is it the account email address or your own admin user address?

    If it is account email address, where dose the email address from? From account emailaddress1 field or from account's primary contact email?

    b).Which opportunity do you want set to the regarding field, what's the condition to filter out the opportunity record since there are multiple opportunities related to each account? 

    When we figure that the above questions, we could add next steps in power automate to update the opportunity to your email regarding field.

    Regards,

    Leo

  • AddisonPayne Profile Picture
    45 on at

    @Leo Zhang The email address that is tracked through the system is the main admin email, all incoming and outgoing via the company go through this mailbox. there are also no contacts that have more then one opportunity associated with each client email. and im not sure what to select on the first "when record is created" Entity name" and "scope", thanks for help hope u reply soon.

  • AddisonPayne Profile Picture
    45 on at

    Example to give more context, When the "Users" in the company are using outlook to respond to clients, They have dynamics app on outlook that they use to see info on in the system. Now when an email comes in to the inbox it pulls up the associated info for that email. Now we would like it always to attach the opportunity for that contact to it.

  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi Partner,

    Sorry for my late reply.

    1.Since you want to set the regarding automatically when tracking the email, you should choose "Email Message" for the entity name, and "Organization" for the scope.

    2.If you mean that the user sent an email from D365 to outlook client with regarding to an opportunity record, and then when another one replied this email from outlook, you want the reply email also regarding to the same opportunity record, it is possible and it is by design in default.

    In D365 I sent an email to another contact with regarding to an opportunity.

    pastedimage1603416735189v1.pngpastedimage1603416748569v2.png   

    And then the other contact received this email in outlook and reply it.

    pastedimage1603416801876v3.png

    The reply email will be shown in the admin email inbox in outlook, and when I tracked it to D365, the regarding opportunity will be related to this reply email automatically.

    pastedimage1603416907821v4.png

    If my understanding is not correct, please feel free to let me know.

    Regards,

    Leo

  • AddisonPayne Profile Picture
    45 on at

    So this is what i need,

    I have a sales person that uses outlook with the dynamics 365 app inside outlook.

    Half the time the set regarding lists the associated opportunity with that contact. 
    the other times it does not list them. Im trying to get this to where the user does not have to waste time setting the regarding on contacts that have been in the system and have an opportunity listed already. 
    Not sure if this is the only way to get this working. I am a new admin for D365, sorry for the confusion. 

  • AddisonPayne Profile Picture
    45 on at

    This is how far iv got so far, 

    Not sure if this matters, We use only server side sync for email tracking, we dont use token tracking.

  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi Partner,

    1.Do you mean the reply email automatically associated with opportunity is randomly while each email from D365 contains the regarding with opportunity?

    2.The "tracking token" is a field in email to judge if the email has been tracked from outlook so it doesn't matter.

    And if the condition met, then you should add the following steps.

    a) Get a record.

    pastedimage1603850712036v1.png

    Get the contact from the email sender.

    b) List records

    pastedimage1603850826971v2.png

    c).Update record.

    pastedimage1603850858696v3.png

    pastedimage1603850875210v4.png

    Hope it helps.

    Best Regards,

    Leo

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 69 Super User 2026 Season 1

#2
BillurSamdancioglu Profile Picture

BillurSamdancioglu 55 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans