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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

What to use to generate a permission error if a user that is not part of the Compliance Team closes a specific task that has a specific Subject.

(0) ShareShare
ReportReport
Posted on by 84

Hello Community, 

I'm struggling to identify what to use for the following scenario:

Only Users that are part of the Compliance Team can close Tasks with the Subject ''XX''. If a Non-Compliance user Closes the XX Task, an error should pop up not allowing the user to close this task. 

Any thoughts?

thank you!

I have the same question (0)
  • Suggested answer
    Haig Liu Profile Picture
    Microsoft Employee on at

    Hi lkay,

    You can use ribbon workbench to customize buttons to show or hide them depending on the user's security role.

    Develop 1 Ltd | Ribbon Workbench for Dynamics 365 & Dynamics CRM

    1.Import the downloaded file as a solution

    2.Create a solution with only the task table (without any data)

    3.Open the solution in the advanced settings, Click the ribbon workbench button to open the solution you just created

    4.Customize the button by referring to the actions in the link: https://d365demystified.com/2021/02/14/show-custom-ribbon-button-based-on-security-role-of-the-logged-in-user-in-dynamics-365-ribbon-workbench-in-xrmtoolbox/

    pastedimage1679038177675v1.png

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans