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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Flush credential tables during database refresh

(0) ShareShare
ReportReport
Posted on by 4,131

Hi experts,

I know for some tables (business events or Azure KeyVaults), after the DB refresh from one environment to another, those values will be wiped out. I was wondering how to implement the same feature for our custom tables.

Thanks,

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    240,275 Most Valuable Professional on at

    When you restore a production database, all users except of the admin are disabled. This is the point whether the admin can run any data cleanup/sanitation scripts.

    I don't think that you can somehow inject your scripts to the process done by Microsoft when restoring the database. You must run them by yourself.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 271 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 264 Most Valuable Professional

#3
Subra Profile Picture

Subra 243 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans