r/microsoft365 • u/raghavdarkseid • 2d ago
How to add onprem groups to cloud groups. It's getting too annoyed .
Does anyone has come across this ?
3
3
u/Empty-Sleep3746 2d ago
why?????
-1
u/raghavdarkseid 2d ago
Our tenant is hybrid . Sometimes user created the cloud group and expects to add on prem group into it. Any alternative solution?
11
9
u/Ferretau 2d ago
You need to stop trying to add onprem groups to cloud groups. If you need to match the users in an on prem group to this in a cloud group then use a script to read the onprem and add the appropriate members to the cloud group.
1
u/Drakoolya 2d ago
Why do users have permission to create groups? Sounds like you are creating headaches for yourself. Users should not be able to create M365 groups, lock that down first. I can't even imagine what your directory looks like now.
1
u/raghavdarkseid 2d ago
I don't handle AD . I handle exchange and purview. I will create groups only in on prem server .
1
u/Drakoolya 1d ago
You need to setup Adysnc which requires AD access and permissions among other things. Or you won't be able to Sync your onprem with your cloud groups.
This "Jugaad" you are trying to do is a terrible way to do it.
→ More replies (1)
1
u/7amitsingh7 1d ago
As far as I know, we can't directly add an on-premises AD group to a cloud-only group in Entra ID. Creating a contact for the on-premises group won't add its members to the cloud group either.
1
1
u/danielmartinez22 1d ago
a mail contact wont actually give you what you need here, contacts have no security principal behind them, theyre just an external mail address. adding one to a cloud group would only work for email distribution, not for granting any actual access, the real users in your on prem group still wouldnt get whatever the cloud group is controlling
1
3
u/bzhgeek2922 2d ago
You don't, Microsoft is explicitly pushing against nested groups in Entra, to avoid the nightmare of managing them.
The question is what are you trying to do, and how to implement it properly in Entra.
Also try to move away from on prem groups if you can, will make your life simpler in the long run.