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)

Is there a way to prevent users from deleting tasks?

(0) ShareShare
ReportReport
Posted on by

Hello All,

I've run into a problem when setting up the CRM for the Service Department. They want to be able to make it so users that are not the owner can not go into a Case and delete Tasks associated with that specific Case.

I looked into security roles but I didn't see Tasks as something you can set privileges for. The only solution I've come up with so far is to remove the delete button from the ribbon but I foresee that being a problem if the Owner wants to delete a Task themselves. 

Does anyone know of another way to make this possible?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Joe Gill Profile Picture
    on at

  • Verified answer
    Mithilesh Kumar Profile Picture
    10,047 on at

    Hi Daniel,

    You can achieve this using Security Roles.

    Give User Level Privilege for Create and Read to Case Entity. This will not allow any users to read the case which does not belong to that person (meaning that he is not the owner).

    Once this is achieved, the users cannot delete the Task Associated to the Case Record since they cannot go into the Case Record.

    Thanks

  • Verified answer
    Aileen Gusni Profile Picture
    44,524 on at

    Daniel,

    Task is a part of Activity and it is controlled by Activity Security Role

    If you want to turn of the delete for Task, you need to revoke the Delete privilege in the Activity Entity.

    Reference here:

    msdn.microsoft.com/.../gg334811.aspx

    "The Task entity uses the same privileges as all activity entities. For more information see ActivityPointer (activity) entity privileges."

    But, remember, the user assigned to this role will not be able to delete another activity type.

    Other way, you can using display rule for the Delete ribbon on the Task entity, not totally hide it or creating a plugin to validate it by specific case.

    Hope this helps.

    Thank you.

  • Community Member Profile Picture
    on at

    Thanks for the quick responses everyone, it helped me out a lot.

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