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?
Mar 18, 2019
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
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
- youssefchMar 18, 2019Copper 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
- 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- 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 ?
- JCakeMay 28, 2024Copper 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!