Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

business rule not deactivating . throwing a dubplicate record error

(0) ShareShare
ReportReport
Posted on by 32

i'm having issues with some of my business rules .  I can deactivate them.  when I try I get a duplicate record insertion error.   I get the same error when I try to migrate the business rule in ether a managed r unmanaged solution (where this issue started for us) .    

here are the parameters : 

- on premise instance, version 9.0.15.9 

- this is the first migration after we applied the 9.0.15.9 patch (we were on the October 2019 patch before that) 

- I can activate / deactivate the business in our sandbox environments

- the business rules are set to Entity scope

has anyone seen this error ?   is there anyone that know which entity I need to delete the record from to remove the duplicate error . 

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: business rule not deactivating . throwing a dubplicate record error

    Hi,

    Can you try IIS reset on your CRM server. Also restart Async services.

    Please mark my answer verified if I were helpful!

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: business rule not deactivating . throwing a dubplicate record error

    Hi,

    Can you try IIS reset on your CRM server. Also restart Async services.

    Please mark my answer verified if I were helpful!

  • Suggested answer
    Chris4300 Profile Picture
    145 on at
    RE: business rule not deactivating . throwing a dubplicate record error

    Hello Martin,

    Hope you are doing well.

    Please take a look at the below articles:

    community.dynamics.com/.../587656

    community.dynamics.com/.../613649

    In one of the articles, it was suggested that a this issue did occur after a recent update and was fixed by a reboot (maybe).

    Regards,

    Chris

  • kunihih Profile Picture
    on at
    RE: business rule not deactivating . throwing a dubplicate record error

    Try collecting Dynamics traces via the method explained below.

    support.microsoft.com/.../how-to-enable-tracing-in-microsoft-dynamics-crm

    The traces should shed more light on what is blocking the deactivation. If you need help analyzing the traces I recommend you raise a ticket with Microsoft.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Eugen Podkorytov Profile Picture

Eugen Podkorytov 106

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

Overall leaderboard

Product updates

Dynamics 365 release plans