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

Announcements

No record found.

News and Announcements icon
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

    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

    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

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
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 53 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans