How to set privilege for Activity Attachment (activitymimeattachment) in Dynamics 365 or PowerApps

One day, some of the users in my Dynamics 365 CE environment were not able to attach a document against an appointment and other activities.

A user who has a basic(user-level) create, global read, business unit edit, and global "append and append to" privileges on activities, trying to attach a document against an activity that is owned by another user/team. But unable to do it and getting an "insufficient privilege" message.

We know that there is no privilege in the security role for "Attachment" and many people suggest that attachments are handled by "Note(annotation)" privilege.

I have increased the notes privilege to global but no luck.

After doing some research, I came to know that the "Activity attachments(Activitymimeattachment)" privilege depends on Activities.

When I increased the activity  "Create, Append and append to" privilege to Global(Organization) then attachment also inherited this privilege. Hence users are able to attach a document against an activity.

Conclusion: Notes Attachment privilege inherits from Note(annotation), and Activity attachment privilege inherits from Activities.

Cheers,
Rocker


Comments

  1. Nice one. Thanks for your detailed explanation 👍🏽

    ReplyDelete
  2. Thank you very much for sharing such a useful article. Will definitely saved and revisit your site best Microsoft Certified: Dynamics 365 Fundamentals

    ReplyDelete

Post a Comment

Popular posts from this blog

Power Automate: Create and attach Dataverse note or activity with an entity record through MS flow

How to send Dataverse email through PowerAutomate

How to avoid "for each" in Power Automate when there is only one record in Dataverse List rows