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

Announcements

No record found.

News and Announcements icon
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

  • Suggested answer
    NikolajSorensen Profile Picture
    1,839 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
    307,704 Super User 2026 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
    307,704 Super User 2026 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 539 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 431 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 184

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans