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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Ribbon button not showing if the user is not system administrator

(0) ShareShare
ReportReport
Posted on by

Hi,

I am having an issue at the moment where a ribbon button is not showing if the user has a different security role than "system administrator". This rule has not been implemented in neither Ribbon workbench or the javascript code. Do any of you recognise this problem, any tips is appreciated! 

I have the same question (0)
  • LuHao Profile Picture
    40,890 on at
    RE: Ribbon button not showing if the user is not system administrator

    Hi Flyth,

    In the ribbon workbench, please check the display rules and enable rules of this button.

    Is there a command for MiscellaneousPrivilgeRule or EntityPrivilegeRule?

    Please refer to https://community.dynamics.com/365/b/goutamdas/posts/show-hide-ribbon-button-based-on-security-role-without-writing-code-in-dynamics-365-ce

  • Flyth Profile Picture
    on at
    RE: Ribbon button not showing if the user is not system administrator

    I have an enable rule for this button which shows the button depending on values in a picklist. The is then connected to a javascript but that script doesn't show/hide based on a security role. I can't see that there is a command for MiscellaneousPrivilegeRule or EntityPrivilegeRule

  • Flyth Profile Picture
    on at
    RE: Ribbon button not showing if the user is not system administrator

    The button that i want to show is for creating reports, and i can see that there is a "Hide action" thatis called reports.hide, could this be the issue?

  • LuHao Profile Picture
    40,890 on at
    RE: Ribbon button not showing if the user is not system administrator

    Hi Flyth,

    This seems to be a custom command.

    You can copy this button first, and then for the copied button, try to remove the commands that may cause the button to be hidden . After finding the command, remove the command from the original button. Finally, delete the copied button.

  • LeoAlt Profile Picture
    16,331 Moderator on at
    RE: Ribbon button not showing if the user is not system administrator

    Hi partner,

    Please check the following points.

    1.Check if there is any other display rules in this ribbon in ribbon workbench and check them one by one.

    pastedimage1588149650974v1.png

    2.Check the enable rules.

    pastedimage1588149803937v2.png

    3.Check if other security role has the permission for the entity which contains this ribbon.

    Could you share the ribbon details in ribbonworkbench to us?

    Regards,

    Leo

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Sahan Hasitha Profile Picture

Sahan Hasitha 271

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 91 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 76 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans