Background:
I have shared a Power App with Azure Entra Security Group and applied a custom security role while sharing.
The security role assigned to Entra Security Group has privilege defined as "Business Unit" and not Organisation.
I have also changed the business unit of the associated Entra Security Group Team to a child BU in PPAC.
When users are added to Entra Security Group they are created in root business unit by default.
Microsoft documentation says the same.
Issue:
Since user is created in root business unit so the records created by the user in dataverse get root business unit as Owning Business Unit.
My assumption was that since I have changed the BU of Entra Security Group Team in PPAC so user will be created in child BU and not root BU.
Question:
Is there any way that business unit of users added to Entra Security Group is changed to child BU automatically which is the BU of Entra Security Group Team in PPAC?
Thanks
Gaurav