Hi All,
I've noticed situation setting up security roles for user as a 'hierarchy' that we can use only 2 (two) levels of security roles - deeper levels don't work properly. Am I right ? otr there is any parameter defining depth of such 'hierarchy' ? In my situation - I have created a role A where I assigned role B which included role C and then i noticed that access defined by role C doesn't work.
I'd be glad of any suggestions
Witold
Hi Witold,
The colored circles on the security role settings page define the access level for that privilege. Access levels determine how deep or high in the organizational business unit hierarchy the user can perform the specified privilege.
According to the document description, the deep option allows access to the information of the entire business unit and subordinate unit. This access level is also called "parent: child business unit", which means that this level of access rights should be as you said, two layer. And you can set the level you need according to the article description.
Security roles in Dynamics 365 Customer Engagement (on-premises) | Microsoft Learn
Best Regards,
Hana
I created a security role with sub roles 3 levels deep. So, it was one main role (1), a sub role (2), on (2) a subrole (3). And on (3) a subrole (4).
This is working correctly. Did you achieve the role development in Visual Studio or did you configure the roles in the application using the Security configuration form?
In case of Visual Studio, ensure the build and a database sync is performed.
In case of configuration, ensure that all objects are published.
PS. You can ignore the link provided by Hana as that is not having a relation with Dynamics 365 F&O.
I just learned that one of our customers has an issue in their environment where a view is giving errors. The name of the view is SecurityRoleUnionView. It gives an error during synchronization about an invalid object name SECURITYROLESUBROLEUNION. Can you check if your environment has this same issue as it can be related for not having all sub-roles working correctly.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 734 Super User 2025 Season 2
CA Neeraj Kumar 636
Martin Dráb 553 Most Valuable Professional