Forum Discussion
Assign user automatically to group in Office 365
Dynamic Group Membership
https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-create-rule
If the Team is linked to the Group the user will be automatically added upon creation assuming the user has the right attribute.
Hope that answers your question.
Best, Chris
First, I can't see " Dynamic user member" case when i create a new group
Second, I would affect new user to already exist group
- Mar 19, 2019Hi youssefch
As per article you would do this in Azure AD, not the 365 control panel
https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-create-rule
You would need Azure AD P1 licencing to do it
https://docs.microsoft.com/en-us/azure/active-directory/b2b/use-dynamic-groups
You would need to review the existing groups before amending the attributes of users and applying this solution.
However, AFAIK this is the easiest solution which will automatically assign a new user to an Office 365 group/Team upon creation as was the original question
Hope that clarifies!
Best, Chris- jimbarrgpbostonJan 08, 2020Brass Contributor
ChrisHoardMVP The real issues with Dynamic groups is that a user cannot see the members by expanding the distribution list. That option isn't available. We were forced to convert all groups to non-dynamic groups because of this limitation. Basically, each and every user has unique properties (might be a member of 3 main groups, then pick and choose what groups afterwards based on need). The process for replicating group membership via the GUI is very slow and extremely inefficient. More than 5 clicks to add a person to one single group. This time adds up for expanding companies. Microsoft's web GUI is very slow as well, compounding the problem. It would be great if there would be a group picker at account creation without having to script everything. Powershell is complex and haphazard.
- Jan 13, 2020Hi jimbarrgpboston
I agree with the limitations - may be ones to raise to https://office365.uservoice.com/ I would vote on them
Best, Chris
- youssefchMar 19, 2019Copper Contributor
Thank You Sir for this responce
WIth powershell, it is possible ? or i should be upgrade my azure active directory to premium ?
- Mar 19, 2019You could absolutely look to script it with Powershell in terms of creating users, adding to specific 365 groups and specific Teams. You would set this information in the script. If you are ok with amending that script when new users are added (setting the groups, teams) then of course, this is a no cost option. However, if you want Azure AD to automatically assign the user to 365 groups and associated Teams to those groups based on an attribute (I.e. location, department) then Azure AD P1 and Dynamic groups is the way to go.
Hope that helps you reach a decision
Best, Chris