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

  • André Arnaud de Calavon Profile Picture
    293,207 Super User 2025 Season 1 on at
    RE: Should "security administrator" role allow us to add roles by legal entity?

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

  • RachaelHa Profile Picture
    24 on at
    RE: Should "security administrator" role allow us to add roles by legal entity?

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

  • Verified answer
    André Arnaud de Calavon Profile Picture
    293,207 Super User 2025 Season 1 on at
    RE: Should "security administrator" role allow us to add roles by legal entity?

    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
    RE: Should "security administrator" role allow us to add roles by legal entity?

    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 :)

  • Suggested answer
    NikolajSorensen Profile Picture
    1,742 on at
    RE: Should "security administrator" role allow us to add roles by legal entity?

    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?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February 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... 293,207 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans