Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Allow Access to Buttons on form via Roles

(1) ShareShare
ReportReport
Posted on by 34
I am giving access to a form in D365 by Roles,
When i add the form in Entry point of a privilege the buttons on that from doesn't show to the user when we assign that role
Suggest me the solution
  • André Arnaud de Calavon Profile Picture
    294,261 Super User 2025 Season 1 on at
    Allow Access to Buttons on form via Roles
    Hi Saud,
     
    I wrote several blogs related to your question. Have a look at this one as a start: Securing a menu item is not enough - form parts - Dynamicspedia 
    Like mentioned by other volunteers, as this is a menu item button, you should grant access via privileges and duties.
  • Mohit Rampal Profile Picture
    12,558 Moderator on at
    Allow Access to Buttons on form via Roles
    Also, you can check if you have set 'access level' property for entry point in your security privilege.
     
  • Suggested answer
    Mohit Rampal Profile Picture
    12,558 Moderator on at
    Allow Access to Buttons on form via Roles
    Hi Saud, If you are referring to 'Base' menu item button in LedgerTransVoucher form then you don't need to add it in security privilege. There is a standard security privilege 'View transaction origin information' just for this menu item. Can you try adding it in the security role from Security Configuration form.
  • GirishS Profile Picture
    27,825 Moderator on at
    Allow Access to Buttons on form via Roles
    No need to change the Needed permission property of the menu item button. I have just asked for confirmation to check if it is set to None.
    Also, you are directly changing the property of the standard form which is not applicable - If you want to do any changes on the form - You need to right click the form - Click on create extension - It will create extension form on your project - You need to edit that form only - If you are directly editing the standard form then you will get the below error only.
    Coming to your issue - better option will be open that form in the front end - Navigate to Options >> Security diagnostics >> It will display all the security related information of the form including privileges - Duty - roles - You can add that privilege to your custom role.
     
    Also, after adding the menu item button to the entry point have you set the access level property?
    Also check whether that menu item button is overridden with Deny permission under security configuration form.
     
    Thanks,
    Girish S.
  • Saud Jalil Profile Picture
    34 on at
    Allow Access to Buttons on form via Roles
    Its is Menu Item button (I already have added that DMI into Entry Point of That privilege)
    It is not letting me change the "Needed Permission" Property of that Button
     
    Is there any table involved that i need to give access ???
    Should i extend that form to change Button Property ???
     
  • GirishS Profile Picture
    27,825 Moderator on at
    Allow Access to Buttons on form via Roles
    Is it a normal button or menu item button?
    If it's a menu item button, then it will be mapped to some menu item - You need to add that menu item to your custom privilege also under entry point.
     
    Thanks,
    Girish S.
  • Hana Xue Profile Picture
    Microsoft Employee on at
    Allow Access to Buttons on form via Roles
    Hi,
    Can you provide a screenshot of this problem so that we can help you better.
    Maybe the below link mentioned about restricting access to buttons using roles and privileges might help.
    How to: Use Roles and Privileges to Restrict Access to a Button | Microsoft Learn
    Best Regards,
    Hana

     
  • Saud Jalil Profile Picture
    34 on at
    Allow Access to Buttons on form via Roles
    Hi Girish
     
    Buttons Needed Permission Property is Set to "None"
    Form is Standard form i.e. "LedgerTransVoucher"
    I am adding privileges via Backend (Visual Studio)
    Thanks
     
  • GirishS Profile Picture
    27,825 Moderator on at
    Allow Access to Buttons on form via Roles
    Hi Saud,
     
    Do the buttons have 'Needed permission' property set to manual?
    Form you are referring to is standard or custom form?
    Are you adding privileges from back end or through security configuration form?
     
    Thanks,
    Girish S.

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,996 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans