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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Security roles conflict

(0) ShareShare
ReportReport
Posted on by 185

Hi Guys, I made a customized privilege with the name 'XYZPrivilege' in which I add a menu item  of the form "ABC" in that privilege I access the specific control (by Needed permission property to manual) of the form and give grant access to ''No access". This privilege is added to the Role "XYZRole". The problem is that I haven't assign that role to User and User have the others role but still is unable to access that control. This problem is happening after the recent update of D365FO. If anyone has idea please let me know. Thanks.

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,119 Super User 2025 Season 2 on at

    Hi Bilal,

    I'm not able to fully follow your current issue. I think you might mix up some things here. I think you have a control on the form where the NeededPermission property is set to Manual. In that case, no normal user, except the system administrator will have access until you grant access to the control via security objects.

    So, the current behavior is intended. A privilege with 'No access' on the same control does not have any effect. The user who should get access would need a privilege added where permissions are granted for the control where the NeededPermission is set to manual.

  • bilal170795 Profile Picture
    185 on at

    Hi Andre,

    So it's clear that if the Needed permission = "Manual" no one can access it until the access is given via security objects.

    If I set the Needed permission = "Read" or "Delete" what should happen.?

  • bilal170795 Profile Picture
    185 on at

    Because I want to create a security object (Role) when I assign that role to user, that control shouldn't be accessed.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    301,119 Super User 2025 Season 2 on at

    Hi Bilal,

    As mentioned above, the NeededPermission is working contradictory to what you want to achieve. If you want to restrict a menu item as you mentioned above, then you can set the NeededPermission to none.

    If you want to restrict access to the menu item with a role, you can create a privilege with 'Deny' permissions.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans