Forum Discussion
youssefch
Mar 18, 2019Copper Contributor
Assign user automatically to group in Office 365
Hello, I
want to automatically assign a user, from its creation, to Office 365 groups and Microsoft teams. How can I do it?
- Hi!
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- youssefchCopper Contributor
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
- Hi 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
- JCakeCopper Contributor
WARNING: Using Dynamic Groups does not exclude guest users by default. This means they may be automatically added to a group to which they shouldn't have access to!