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

Community site session details

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

mail tracking token not working correctly with mails generated from workflow

(0) ShareShare
ReportReport
Posted on by 38

Dear,

I have enabled the "use tracking token" option for email conversations; it is working fine for most mails sent from Dynamics. However, it is not working for mails generated through workflows.

For example, the "Send Email Confirmation to Contact" workflow, the token stays always "CRM:0000001" and never increases.

I found this post, but I don't see how I can somehow change the type of user for the workflow so that it uses the tracking token correctly.

Any idea how I can solve this?

Thanks,

Koen

I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    RE: mail tracking token not working correctly with mails generated from workflow

    Hi KoJaPD, 

    This is by-design.

    When Get Tracking Token is called using SYSTEM user it will always return 00001 token since tracking token is not supported for user SYSTEM. 

    When trigger and execute Email Send Request in the workflow, the caller is SYSTEM, so tracking token generated a static tracking token "1"

    If the user wants to generate a tracking token, they need to call the API from a regular user.

    ˂RESOLUTION˃

    You can try a custom code to change the SendEmailRequest.TrackingToken property as mentioned in the article below: 

    SendEmailRequest.TrackingToken Property (Microsoft.Crm.Sdk.Messages) | Microsoft Docs

  • KoJaPD Profile Picture
    38 on at
    RE: mail tracking token not working correctly with mails generated from workflow

    Leah Ju thanks for the informatio. Is it then somehow possible to configure that this unusable tracking code is not added to mails coming from processes? Now, end users receive multiple mails with "000001" which might be confusing ....

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 271

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 91 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 76 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans