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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Prevent processing old e-mails when mailbox is activated

(1) ShareShare
ReportReport
Posted on by 43
Hi!
 
I have a few questions regarding activating a mailbox in Dynamics with Server Side Synchronization and email server profile Exchange Online.
 
If you have a user that has been at the company for many years and have thousands of emails in their mailbox, then when activating their mailbox in Dynamics it will cause hundreds of e-mails to be synchronized and the result is hundreds of e-mail activities created in Dynamics, taking up unnecessary storage. We want to prevent these e-mails from being synchronized to Dynamics. 
 
 
We have investigated the possibilities with changing the /Process Email From/ field on the Email Server Profile.
According to Microsoft Documentation: 
Question 1: If changing this date /Process Email From/ to the current date, what impact could that have on old e-mails that have already been processed and synced to Dynamics?
 
On the other hand, we have also read about the /Process Email Received After/ on the mailbox itself.
 
(When a mailbox is synchronized for the first time, server-side synchronization will use the Process Emails From date on the email server profile to determine how far back emails should be synchronized relative to the Received On date for the emails in the Exchange mailbox. The last email processed in any synchronization cycle will be used to set the Process Emails From date on the mailbox recordNote that server-side synchronization will always utilize the greater value between the Process Emails From date on the email server profile and the mailbox record. https://learn.microsoft.com/en-us/power-platform/admin/best-practices-server-side-synchronization)
 
When a mailbox hasn't been enabled the default value seems to be /1900-01-01/ (In that case when activating the Process Email From Date on the server profile will be utilized since it is greater than the value on the mailbox?)
We are unsure which field of /Process Emails from/ and /Process Email Received After/ will be used when activating the mailbox if we sent the /Process Email Received After/ to todays date. 
 
Question 2: Would it be possible to change the /Process Emails Received After/ to todays date, and then activate the mailbox, and only e-mails from today will be processed and synced to Dynamics? (Without changing /Process Email After/ on the server profile)
 
Question 3: Which method is recommended? Changing the /Process Email After/ on the server profile to todays date or the /Process Emails Received After/ on the mailbox to todays date?
 
Thank you in advance!
 
I have the same question (0)
  • Suggested answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    For old emails that have been synchronized, they will not be processed.
     
    If the mailbox's Process Email Received After value is greater than the value of the email profile's Process Emails From date, the mailbox's Process Email Received After value is used as the synchronization date.
     
    It is true that only email records from today have been added to all email activity records.
     
    If you want to set up synchronization from today for a specific mailbox, then you can synchronize that mailbox's email record from today by setting Process Email Received After for that mailbox to today.
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me .
     
    Best Regards,
    Dengliang Li
     

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans