I've a question about how to automatically assign users to the correct business unit(s).
My problem is:
When an user, that is only a member of the entra group 1, I expect that the user after the first loging in, is automatically set to business Unit 1. But it's always added automatically to the default business unit. That is not what I want. I want that the user is added directly to the correct business unit.
I've created an environment, let call it ProductionEnvironment. To have access to this environment, I set up an Entra ID group named: Environment group. I've also two extra groups created:
- Entra Group 1
- Entra Group 2
Both groups are a member of the Environment group.
I've also created two extra business units in my environment:
- Business Unit1
- Business Unit2
Both business units has the default business Unit as parent.
To assign my Entra Group members the permissions they needed and assign them to the correct business unit, I've created two Teams:
- Access Team 1
- Access Team 2
Both Teams are from the type of: Microsoft Entra ID Security Group And I added the correct Entra ID groups to them.
I assign the correct Business units to these Teams.
So I'm expect that the users when they are signing in for the first time to the environment, automatically are added to the correct business unit, but that is not happens.
In my draw below I try to make a clear overview.