Skip to main content

Notifications

Announcements

No record found.

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! 

  • 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

  • LuHao Profile Picture
    40,886 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.

  • 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?

  • 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

  • LuHao Profile Picture
    40,886 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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 61

#3
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 53 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans