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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

After database refresh some data is missing in the target environment.

(1) ShareShare
ReportReport
Posted on by 194
Hi guys,
 
hope all is well.
 
Today as usual i did a database refresh from Prod to UAT.
After the refresh i noticed that some information from HCMEmployeeV2entity is missing in the target environment.
Fields like - PRIMARYCONTACTEMAIL are blank or with "null" value.
 
Naturally i immediately checked the source environment, but everything looks fine there.
The refresh finished without errors and i am not able to find anything relevant in the logs.
 
Anyone experienced something similar before ?
It is not the only field that i spotted, we are missing the employee private emails as well.
I double checked the official "DB refresh process" by MS, but i don't see anything new or related to this.
 
Thanks in advance.
I have the same question (0)
  • Martin Dráb Profile Picture
    237,978 Most Valuable Professional on at
    Moved from D365 general forum to D365 Finance forum, because the object names suggest that it's about F&O. Please let me know if you disagree.
  • Raj Borad Profile Picture
    1,428 on at
    Hi,
     
    I have faced the same issue while Refresh the Dev data with Prod data in AX 2012.
    In AX 2012, It occurs due to the TableIds and ColumnIds differences in both the Instances.
     
    It shows the data after restoring the backup, but after Db sync it becomes blank.
     
    For solution, we have Create the new DB in Dev instance and restore the Prod data in our new Test DB.
    And after DB sync the Main DB, we copied the specific missing columns data from Test DB to Main DB.
     
    Thank you,
    Raj D Borad
     
  • Suggested answer
    Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
    Hi,
     
    Some data isn't copied when you refresh the database from Production to UAT.



    Thanks,
    Waed Ayyad
  • SM-17050844-0 Profile Picture
    194 on at
    Waed,
     
    Thanks for your response. 
     
    So first the data is missing in HCMemployeeV2 entity.
    Second this data was there in all previous database refreshes.
     
    I know this part of the documentation, but it does not add-up to the previous outcomes of the database refreshes.
    We are fine if this is not there, but on the other hand if it is not intended behavior i have to ask myself what else is missing...
     
     
    Anyway i raised a case with MS and will update you guys if there is anything out of it.
  • Anthony Blake Profile Picture
    2,963 Super User 2025 Season 2 on at
    Hi,
     
    Waed is correct, email addresses are removed intentionally.
     
    I suspect the data entity you have checked will reference the underlying data from one of the documented tables and.or fields.
     
    If you needed the data back, you could use DMF to export the entity from Production and import into your test environment, but beware that there are valid reasons for obfuscating email addresses, you need to take care not to send test emails to real employees. Some kind of obfuscation or anonymising is definitely sensible.
     
    @Raj, you should raise your comment as a question in the Dynamics AX forum in it's own thread, that's a common old problem and I' sure someone can help.
  • Raj Borad Profile Picture
    1,428 on at
    Thanks Anthony, for your suggestion.
     
    I have posted the question regarding the missing data while Data refresh in AX forum.
     
  • Waed Ayyad Profile Picture
    9,039 Super User 2025 Season 2 on at
    Hi,

    Is your issue resolved?  If yes, mark the answers that helped you as verified.

    Thanks
    Waed Ayyad
  • SM-17050844-0 Profile Picture
    194 on at
    HI Anthony, 
     
    Nice to see you again!
    I can agree with your statement, but only if this was a consistent outcome :)
    Something must have happened because I've created randomization scripts for the emails exactly because this information was there.
    So we are not only randomizing this part of the table, but also many other fields like gender, age and so on...
     
    I am still waiting for Microsoft to give us more information.
    Let's see.
     
    Thank you all for your suggestions and help !
     
    Cheers,
    Simeon.
  • CU23080826-0 Profile Picture
    2 on at
    You're encountering an issue with missing data after a database refresh from Prod to UAT. Given that fields like `PRIMARYCONTACTEMAIL` and employee private emails are blank or showing "null" values, despite the refresh completing without errors, there could be a few potential causes. It's possible that the data was not properly copied during the refresh or there may be discrepancies in how data is handled between environments. Double-check that the refresh process is fully aligned with the documentation and consider verifying any data mapping or transformation rules that might affect the data transfer. Reviewing any additional logs or reaching out to support for deeper insights might also help identify the root cause. Academic workloads often leave students feeling overwhelmed. A writing service like https://ukwritings.com/dissertation-help provides customized assistance, helping students complete their assignments on time while ensuring that the work meets the necessary academic standards.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans