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, ...
Suggested Answer

Custom scripts in PROD

(0) ShareShare
ReportReport
Posted on by 408
Hi team,
 
As per my knowledge, I know that without downtime in PROD,we can execute custom scripts for data fix like insert, update and delete.
 
Am I correct?
 
Is there any limitations of custom scripts to execute in PROD.
 
Pls advise. thanks!
Categories:
I have the same question (0)
  • Suggested answer
    Subra Profile Picture
    1,513 on at
    Hi @CU10121822-0

    Yes, you are correct you can run the custom script without downtime in Prod but I would suggest you to before running direclty in Prod. Kindly check the same in Dev and UAT.

    Yes, we have few limitation with custom scripts and which table you trying to use in your custom scripts.
     
    Thanks,
    Subra

    If this helped, please mark it as "Verified" for others facing the same issue

     
  • Suggested answer
    Shaluma Profile Picture
    335 on at
    Hi  
    Yes it's correct, custom Scripts can be executed in Production without downtime in Dynamics 365 This is the whole purpose of the feature to allow emergency data fixes INSERT, UPDATE, DELETE directly in PROD without needing a full deployment or environment downtime, to run a custom script in PROD without downtime, I recommend validating it in the Development and UAT environments before executing it directly in Production, Create an X++ class extending SysOperationServiceBase, Upload via LCS → Environment → Maintain → Run custom X++ scripts, Test in Sandbox first, Get approval from a second user, Run in PROD — no downtime needed,X++ only one-time execution, no self-approval, DELETE is irreversible.


    Thanks,
    Shaluma

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
Subra Profile Picture

Subra 500

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 462 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 461 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans