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, ...
Answered

Should "security administrator" role allow us to add roles by legal entity?

(0) ShareShare
ReportReport
Posted on by 24

Hi,

Whenever I've tried to add a legal entity restriction to a user's security role using the standard security administrator role I get the error Cannot edit a record in Security role (SecurityRole). Access Denied: You do not have sufficient authorization to modify data in the database.  We can add a role, however by default it's applied globally, and Security Administrator can't then restrict this to the relevant legal entities.  In our organisation we almost always grant roles to specific legal entities so this issue prevents me from reassigning some of our user administration tasks to users outside of our sysadmin group.

I always thought this was an odd gap in functionality or a bug as I've seen it at multiple clients, and something that would be fixed in future versions... but it's still an issue, it's not on issue search and online i can't see many people talking about this so thought I'd check with the community...   am I missing something/is there something I can do to remedy it?  

Thanks

I have the same question (0)
  • Suggested answer
    NikolajSorensen Profile Picture
    1,792 on at

    I know that you get an error when trying to assign a legal entity for the specific role, but in my experience the legal entity limitation for the security role is actually assigned regardless of the error message.

    Can you double check if that is what you are also experiencing?

  • RachaelHa Profile Picture
    24 on at

    You are exactly right.   I think I even knew that before then forgot.  But have tested now and it works as you say.

    Thank you :)

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

    Hi RachaelHa,

    What exact version of Dynamics 365 F&O are you using? I just tried to reproduce this on an environment with version 10.0.27. I didn't get this error here. So, it might have been fixed.

  • RachaelHa Profile Picture
    24 on at

    Oh nice!  I'm on 10.0.25 but going to 10.0.27 in a few weeks

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

    Great! Please update us if it will be solved in your environment as well or if you might still have the issue.

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans