Creating Records with the Same IDs in Dynamics 365: A Quick Tip

Fredrik Engseth
2 min readMay 2, 2023

Creating Records with the Same IDs in Dynamics 365. If you’re working with Dynamics 365 in multiple environments, such as development, testing, and production, you may need to create records with the same IDs in each environment for testing and other purposes. Fortunately, it’s easy to do this using the code provided below.

Here’s how:

Step 1: Copy the code below into the web console in your browser.

// Create Customer Support Queue
let data =
{
"name": "Customer…

--

--

Fredrik Engseth

Developer | Dynamics 365 | Power Platform | Azure | Personal development | Investments | ☕ https://www.buymeacoffee.com/fredrikengseth