Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Sales forum / Block Account De-activ...
Sales forum
Suggested answer

Block Account De-activate option

Posted on by 147
On top of Account or Contact form we have the de-activate button.  Don't understand me wrong, I agree this is a good feature, but there a way to block this feature for users.
You can't manage this through security roles setting in combination with priveledges. 
Does anyone have a suggestion?
Categories:
  • Suggested answer
    dian74 Profile Picture
    dian74 2,473 Most Valuable Professional on at
    Block Account De-activate option
    You can actually do this by using the OOB real time workflows. I wrote an article on doing this for opportunities, but you could build the same for accounts: https://d365goddess.com/using-real-time-workflows-as-security/
     
    PLEASE MARK THIS ANSWER AS VERIFIED IF HELPFUL!
  • Suggested answer
    Dengliang Li Profile Picture
    Dengliang Li Microsoft Employee on at
    Block Account De-activate option
    In Ribbon Workbench, you can set up buttons to be shown and hidden based on access to the entity.
    Step 1. Create a new display rule and add the EntityPriviledgeRule step.The setting here is that the button can only be seen if the user's security role for the account entity create privilege is at the organization level.

     
    Step 2. Add the display rule just created to the command of the Deactive button in the Home pane.


     
    Step 3.  Add the display rule just created to the command of the Deactive button in the Form pane.


     
    Step 4. The user's security role for the creation privilege of the account entity is only at the user level, therefore the Deactive button is not visible.

     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Dengliang Li
     

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,353 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,251 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans