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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to add Bulk Deletion Job to Solution

(0) ShareShare
ReportReport
Posted on by 1,434

Hi ,

I was created one bulk deletion system job and want to deploy at client location. So I need to add that system job in to required solution. But unable to find out option to add into solution.

Please help me. I am using MS CRM 2013

Regards,

Abhishek Srivastava

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    SrinivasCh Profile Picture
    572 on at

    Bulk delete jobs won't go as part of solution.

    A bulk delete job is represented by the bulk delete operation entity. The schema name for this entity is BulkDeleteOperation. A bulk delete operation record includes the following information:

    Number of records that the bulk delete job deleted.

    Number of records that the bulk delete job failed to delete.

    Whether the bulk delete job is a recurring job or not.

    Start time of the bulk delete job.

    you can use either powershell or console application to submit bulkdetion job using BulkDeleteRequest message.

    Please refer sample in  link msdn.microsoft.com/.../hh670605.aspx

    Hope this helps !!

    Mark this question as answered, if you find answer :)

  • Abhishek.Srivastava Profile Picture
    1,434 on at

    Actually my requirement is bulk delete data after week or daily. System job is not part of solution. So any other way to achieve and deploy at client server.

  • Suggested answer
    SrinivasCh Profile Picture
    572 on at

    Hi Abhishek,

    Create system job through programming or powershell and set Recurrencee pattern to weekly or daily.

    I have replied to this thread but some how it didn't post.

    Hope this helps

  • Suggested answer
    SrinivasCh Profile Picture
    572 on at

    Hi Abhishek,

    I hope you have resolved the issue by now using BulkDeletionRequest.

    If you are looking for sample , I suggest to go through \SampleCode\CS\DataManagement\BulkDelete sample code in SDK

  • Charles B Profile Picture
    10 on at

    I wonder if anyone has ever deployed Dynamics in a CICD pipeline that did not include huge levels of magic scripting that tends to fail.   It's simple, we want to create a solution, make changes and have a deployable unit (the solution) that we can distribute.   The failure to include all the resources in the solution should not be an acceptable answer and it promotes deployment antipatterns.    The product team should be working to resolve this!   Using powershell to deploy is a "work around" and in no way a Solution to enterprise software.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans