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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Business Unit access f...
Power Apps
Unanswered

Business Unit access for managers

(0) ShareShare
ReportReport
Posted on by 1,710

Hello,

I have the following security requirements that I need to implement in our module.

 

I created a Business Unit called "IT Department" that has 4 users as follows:

  1. User 1: Is a director and has an admin role assigned and he will be able to see all the Team data under this BU. (Business Unit level access)
  2. User 2: Is a manager under the director (User 1) and he should not able to see User 1 data as he will be able only to see User 3 & User 4.
  3. User 3 and User 4 should only see their own data.

I am still stuck on how can I restrict access for User 2 to not see User 1 data and allow him to see the normal team members' data? (User 3 and User 4)

If I created a custom security role for User 2 and gave him everything at the BU level then he will be able to see User 1's data again.

Note: User 1 cannot be assigned to have access to the Organization level only the BU that he belongs to.

Could you please advise what will be the solution to the above requirements?
I would greatly appreciate it if you could provide an example.

Best regards,

EBMRay

I have the same question (0)
  • Gowri Halan Profile Picture
    262 on at

    Hi,

     

    How about you share the records that are created by user2 and user3 via plugin.

    Your scenario might not be achievable via security roles even if you create separate team. you can control privileges  only by user level or business unit level. So you can try Sharing approach through which you can control the access as well (read,right,delete). If the number of entity is very limited then you can register a plugin on create event and just share the record to user2. You can control the user details via configuration entity.

    https://learn.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/hh547423(v=crm.8)?redirectedfrom=MSDN 

     

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Julien2,

    You should be easily able to achieve this with hierarchy security. For more info: https://learn.microsoft.com/power-platform/admin/hierarchy-security 
    I would suggest to try to avoid plugins and sharing. Sharing can have performance implications and is typically meant for temporarely access or handle adhoc scenarios. 

    Hope this helps!

  • EBMRay Profile Picture
    1,710 on at

    Hello  

    I think the manager Hierarchy will satisfy my requirements, and as soon as I have some free time I will give it a try and report back.

    I will not proceed with the option to go for plugins and sharing.

    Thank you,
    Julien

    @EricRegnier

  • EBMRay Profile Picture
    1,710 on at

    Hello  

    I think the manager Hierarchy will satisfy my requirements, and as soon as I have some free time I will give it a try and report back.

    I will not proceed with the option to go for plugins and sharing.

    Thank you,
    Julien

    @EricRegnier

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard