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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Unanswered

A same record created in PROD automatically after user creates an account record in copied sandbox instance

(1) ShareShare
ReportReport
Posted on by 37

I use a service account to full copy a PROD instance to a sandbox instance.  When a user(admin role) created an account record in sandbox, a ghost record will be created with the same GUID and different account number by a system service account in PROD. Is anybody know why the ghost record get created? How to stop this? Many thanks.

  • Community Member Profile Picture
    on at

    This is weird. Is there any plugin or JS that has the environment hard coded in it and where it creates records?

  • Charlie Chen179 Profile Picture
    37 on at

    I don't see any.

  • Community Member Profile Picture
    on at

    Hi Charlie,

    How is the account record being created?  Is it being input into CRM, or into a Portal?

  • Charlie Chen179 Profile Picture
    37 on at

    It's been created into PROD instance, by a system admin account with a license assigned.

  • Community Member Profile Picture
    on at

    Is it being created by a workflow, or by a plugin?

  • Charlie Chen179 Profile Picture
    37 on at

    No idea. No system job in PROD instance related to this creation.

  • Community Member Profile Picture
    on at

    This would be the first thing I would answer... iss it a workflow or a Plugin that is writing the record.  

    You should be able to figure this out fairly quickly.  You can look in the default solution under "process" for a workflow that is firing; however, if there are a lot of workflows, this could be tedious.  A better way would be to connect to your Dynamics instance with the Plugin Registration tool to see if a plug is registered... if you have the admin access to do so.  Do you have admin access?  Do you also have access to the Plugin Registration tool?

    Who would have done a plugin (or a workflow)?  Is that person no longer available?  Sorry to ask so many questions - but this is no simple issue, and there are many ways to copy a record.

    And of course, you should check under you SANDBOX instance, as that would be where the workflow or plugin would be running that would copy a record to PROD upon creation in the Sandbox.  On the surface, it sounds to me like the plugin is firing, and copying the record to an instance with a GUID that is now in PROD.  No clue how that would have happened, but it makes more sense if it's a plugin that's firing than if it was a workflow.

  • Charlie Chen179 Profile Picture
    37 on at

    Your questions are great.

    I can see the audit log showing the record is created by a system admin service account.

    By which process? No idea.

    How? Whenever an account record is created in Copied instance, a ghost record will be created into the PROD instance.

    Look into process list or Plugin Registration tool doesn't really help, as the create action doesn't look like triggered by an event happened within the PROD instance.

  • Community Member Profile Picture
    on at

    I'm sorry; I edited my response and added that you should check under the SANDBOX instance, but most likely you missed that as I edited it a bit late.

    This is occurring whenever an admin creates an account record in the SANDBOX instance, correct?  Something then copies the record into a "ghost" record in the PROD instance, right?

    If so, this means that the workflow or plugin is on the SANDBOX instance, and is triggered on create of the record.  That's where I would start looking.

  • Community Member Profile Picture
    on at

    BTW... are these instances On Premise, or in the cloud?

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

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
11manish Profile Picture

11manish 48 Super User 2026 Season 2

#2
Travis South Profile Picture

Travis South 45

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans