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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Security role for Custom Activity entity - 'write' privilege not working

(0) ShareShare
ReportReport
Posted on by 10

Hi D365 Marketing Team,

I'm having issues trying to troubleshoot one of my roles for my client. 

Requirement: 

I have to create a custom activity (Approval Activities) which allows users to only approve their activities linked to 'Campaign'.

Users can see all 'Campaign' records, but only able to update their Business Unit 'Campaigns. That's working.

When an approval activity gets created for the relevant approver (for Approval Activity).

Only that approver (user) can update their records linked to 'Campaign' record.

This is my current setup and its not working. Users are able to update each others approval activities:

pastedimage1649682454996v1.png


Campaign section:
pastedimage1649682548262v2.png

What we also picking up:

If campaign owner captures the Campaign (or I assign him/her a campaign), they can edit all of the activities (even though his role is Read=Basic(User) privilege). If someone else owns the Campaign then they can't as we intend.

Please assist?

Thanks

I have the same question (0)
  • Verified answer
    Nya Profile Picture
    29,060 on at

    Hi,

    Please check the Relationship Behavior between the two entities.

    pastedimage1649838990728v1.png

    Here is the reference documentation about it.

    Entity relationship behavior (Developer Guide for Dynamics 365 Customer Engagement (on-premises)) | Microsoft Docs

    You can achieve your request by adjust the type of behavior.

  • Greg_Adams22 Profile Picture
    10 on at

    Hi Nya,

    I'll check this out and get back to you. Thanks and definitely will do.

    Regards

    Greg

  • Greg_Adams22 Profile Picture
    10 on at

    Hi Nya,

    We had no luck with your suggestion. We have users who own the Campaign record are still able to amend related activities linked to their campaign. That should not be the case.

  • Greg_Adams22 Profile Picture
    10 on at

    Hi Nya, we looked further into it. I had to change 'Type of behaviour' = Cascading and change 'Reparent' = Cascade none. This resolved this issue. Thank you so much.

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…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 108 Super User 2025 Season 2

#2
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 30

#3
Satyam Prakash Profile Picture

Satyam Prakash 24

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans