Dear all,
it seems I can't find the right configuration and I'm hitting my head in the wall :S.
I have an environment protected by Container AD group. In this container group i have 3 AD security groups with different members.
I created a custom dataverse table and 2 security roles (copied form the basic one)
-> 1. child security role that gives permissions only on BU level and
->2. parent, that is with permissions parent-child BU level for this table.
I created 3 BU: 1 parent (europe) and 2 children (spain, italy).
I created 3 teams (type AD security) in this 3 BU and assigned the corresponding custom roles to them.
Finally i created canvas app with form and gallery for this custom table and shared the canvas directly with the nested security groups, assigning again the correct security role.
As a result (unfortunately) all the users are seeing all the records. When I check users bu there are all assigned to the environment main business unit (so its normal to see the records). If i reassign the BU manually user by user ->the security roles are working as expected.
I sow that there is no automated way to assign AD security group to BU. My question is ->what do i do wrong? Is there a way to put all my users from AD security group directly in the right BU so i can protect the records?
All the answers will be very appreciated!