Notifications
Announcements
No record found.
In Microsoft Dynamics 365 Finance & Operations (D365FO), direct SQL updates to the STAGE (or any other) database are restricted due to security and data integrity policies. Microsoft enforces this restriction to prevent data corruption and maintain application consistency.
If direct SQL updates are necessary, use X++ to update records programmatically. Example:
xpp
BankParameters bankParam = BankParameters::find(); bankParam.SomeField = "NewValue"; bankParam.update();
Deploy the updated code via a data package or through a developer environment.
If you need direct database updates, use Microsoft’s LCS Database Movement feature to temporarily allow query execution via Azure SQL Query Editor.
If no other options work, request Microsoft to perform the update through a support ticket.
D365FO enforces security by blocking direct SQL modifications. Attempting UPDATE statements on the STAGE database leads to an error due to the SQL Azure Managed Instance security model.
UPDATE
If this helped, please mark it as "Verified" for others facing the same issue
Keep in mind that it is possible to mark more than one answer as verified
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 664 Most Valuable Professional
André Arnaud de Cal... 522 Super User 2025 Season 2
Sohaib Cheema 303 User Group Leader