Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

security role privilege to control access to activitymimeattachment (attachments) on an activity.

Posted on by 496

I am pretty sure I would have found it already if it exists, but hoping I missed something.

I want to set a up a Security Role that has access to Activities (say, Email Message), but not to the Attachments.

is there a way to do this?

I see attachmebnts are stored in activitymimeattachment entity, so it does indeed seem to be stored in a separate entity, but I didn't see a Privilege for this in the Security Role set up.

  • ShannonCRM Profile Picture
    ShannonCRM 496 on at
    RE: security role privilege to control access to activitymimeattachment (attachments) on an activity.

    Adding on to this - if you used SharePoint as an attachment storage rather than the activitymimeattachment, could you then specify that privilege to access separately?

  • ShannonCRM Profile Picture
    ShannonCRM 496 on at
    RE: security role privilege to control access to activitymimeattachment (attachments) on an activity.

    For us, it's in the email message entity, so I have been using Activities but I had a situation where we wanted to let them see the email but not the attachment.  The reason being is that attachments can contain ITAR-protected technical data.  But I just figured out how we could do it without issues by using Business Unit based security, thanks for the reply as you got me thinking about how I can do this!

  • Suggested answer
    RE: security role privilege to control access to activitymimeattachment (attachments) on an activity.

    Hello Shannon,

    There are no entity specific privileges for the ActivityMimeAttachment entity.

    Please see the entity type information: docs.microsoft.com/.../activitymimeattachment

    Usually, an attachment is under a note, so my suggestion is to set the permission to notes and the attachment will have the same security permission. I don't know if it's suitable for your requirements but it's something that  can be verified.

    If this answer was helpful to you please mark it as an answer. Thank you!

    Thank you for using Microsoft Dynamics CRM Communities. 

    Cláudia Amaral
    Support Engineer 
    Microsoft Dynamics CRM

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: security role privilege to control access to activitymimeattachment (attachments) on an activity.

    Hello,

    It's the "nested" permission and you can't configure it separately - similar to opportunity/opportunity products, quote/quote lines e.t.c.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans