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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to link business u...
Power Apps
Answered

How to link business units to custom entity

(0) ShareShare
ReportReport
Posted on by

Hi,  I have a custom entity containing a country column with two distinct countries.

I'd like to separate the dataset in such that I give different country users access to their respective data.

I have created two business units with the country names and added users to them.

I however seem to fail in understanding how I link the custom entity to the business units, such that the data is only seen by the right users with respect to the country column.

 

Any help towards achieving this will be highly appreciated, am fairly new to CRM/CDS.

 

 

I have the same question (0)
  • Verified answer
    EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Dk4,

    The business unit setup is one step to get that working. I also suggest to have a root business unit to allow for future flexibility and to have a business unit for your system admins. For example:

    Root BU: Company XYZ

    Child BUs: Country X, Country Y

     

    The 2nd step is to assign the users to the right business unit. By default they are assigned to the root/default business unit. Here are the steps to change the business unit of a user: https://docs.microsoft.com/en-us/power-platform/admin/create-edit-business-units#change-the-business-unit-for-a-user

     

    Then you need to make sure the security roles and its privileges cater for business unit scope permissions. If the privileges are currently set at the organisation level then you won't be able to segregate access. Make sure the required privileges (read, write, create, delete) are at the business unit level (the half yellow circle): https://docs.microsoft.com/en-us/power-platform/admin/wp-security-cds#entityrecord-ownership.

     

    Lastly, you need to ensure the records your the custom entity are assigned to the right users to ensure only the users within the same BU can access/manage the right records. So for example, the records that are supposed to be "owned" by Country X should be owned by users that are member of BU Country X

     

    Here's a nice video that explains CDS security model: https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/Security-in-Common-Data-Service-CDS/td-p/615512

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard