Skip to main content

Notifications

Service | Customer Service, Contact Center, Fie...
Answered

Deletion of recurring duplicate detection jobs

Posted on by 5

Hello, 

After cancelling a recurring duplicate detection job on the contact entity, I have attempted to delete it; however, it is stating:

"You can't cancel or delete this system job because it's required by the system. You can only pause, resume, or postpone this job."

Is there a way to delete these jobs, as I am getting the same error for every cancelled duplicate detection job. I have also tried all other available actions (Pause, resume, postpone) but they are all giving system errors. ]

Much appreciated.

  • C.Jewell Profile Picture
    C.Jewell 5 on at
    RE: Deletion of recurring duplicate detection jobs

    Hi Nya,

    Unfortunately, after raising a ticket, Microsoft confirmed this was not possible but suggested it be added to their ideas board.

  • cjewell Profile Picture
    cjewell on at
    RE: Deletion of recurring duplicate detection jobs

    Hello Emerson, this is perfect - worked like a charm. Thank you very much.

  • Verified answer
    Emerson Lemos Profile Picture
    Emerson Lemos 50 on at
    RE: Deletion of recurring duplicate detection jobs

    Hi,

    There's actually a way to delete these jobs, after a lot of trying I finally got it.

    If the system job is not cancelled, cancel it first.

    After the system job is cancelled, you need to update the asyncoperation record setting the field recurrencestarttime to 9999-12-31. To do that you can use XrmToolBox with the Bulk Data Updater tool. I have no ideia why, but when you do that, the field recurrencepattern is set to null by the system and then you can delete the system job. Someone might be thinking, why not just update the recurrencepattern to null directly? Well, that's because it won't work, believe me I tried.

    XrmToolBox
    Bulk Data Updater

    In the image below, Trabalhos do sistema recorrentes = Recurring System Jobs.
    1033.png

    4657.png

  • C.Jewell Profile Picture
    C.Jewell 5 on at
    RE: Deletion of recurring duplicate detection jobs

    Hello Nya,

    Thank you very much for that, this is what the error had stated so I will do so, as it appears there is no other way currently.

    Regards,

    Christina

  • C.Jewell Profile Picture
    C.Jewell 5 on at
    RE: Deletion of recurring duplicate detection jobs

    Hello,

    Thank you very much for that. It does ask to contact support but the explanation as to why is helpful.

    Regards,

    Christina

  • Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Deletion of recurring duplicate detection jobs

    HI,

    Unfortunately you can not delete because it is restricted by the platform and the error you are getting is OOB dataverse error -

    0x80044F02

    -2147201278 Name: CannotDeleteOrCancelSystemJobs

    Message: You can't cancel or delete this system job because it's required by the system. You can only pause, resume, or postpone this job.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • Nya Profile Picture
    Nya 29,054 on at
    RE: Deletion of recurring duplicate detection jobs

    Hi,

    Please create a support ticket and the engineers can delete the jobs from back end by running a script.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,902 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,297 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans