Applies to Product - Power Platform Administration
What’s happening?
- Customers are experiencing issues with duplicate records being created in Dynamics, particularly when using custom applications or Power Automate flows. This includes scenarios where capacity indicators appear duplicated or where tasks are created multiple times based on specific triggers.
Reason:
- The duplication of records can occur due to multiple requests being sent to the CRM server, which results in the same record being updated more than once. This can happen if a user inadvertently triggers the same action multiple times, such as pressing the "Approve" or "Reject" button more than once.
- In some cases, plugins that are registered to run on record updates may also trigger multiple times, leading to duplicate entries. For example, a plugin may be executed in both the PreUpdate and PostUpdate phases, causing the same fields to be updated multiple times.
Resolution:
To address this of duplicate records:
- Verify the flow history in Power Automate to check if the flow was triggered multiple times.
- Check the server logs to identify if the same user initiated multiple requests in a short time frame.
- Review the plugin configurations to ensure that they are not set to trigger multiple times for the same action.
- If using Power Automate, ensure that the flow is set up correctly to handle updates without causing duplicates. This may involve adjusting the trigger conditions or implementing checks to prevent duplicate actions.
