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

Block Account De-activate option

(0) ShareShare
ReportReport
Posted on by
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?
  • Suggested answer
    dian74 Profile Picture
    dian74 2,475 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
     

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,468 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,287 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans