add a user to the group automatedly

shid077
Tera Contributor

How to add a user to the group automatedly in azure AD once a user create. 

1 REPLY 1

Shaqeel
Mega Sage

Hi @shid077 

 

You can use Azure AD's dynamic group membership feature. Here are the steps:

 

  1. Sign in to the Azure portal as an Azure AD administrator.
  2. In the left-hand navigation pane, select the "Azure Active Directory" service.
  3. Navigate to "Groups" > "All groups".
  4. Click on "New group".
  5. In the "Group type" field, select "Security".
  6. Provide a name and description for the group.
  7. In the "Membership type" field, select "Dynamic User".
  8. Click on "Add dynamic query".
  9. Define the rules for the dynamic group membership. For example, you can set a rule where the user's department attribute equals a certain value.
  10. Click on "Add query", then "Create" to create the group.
  11. Once the group is created, any new user that meets the defined rule will be automatically added to the group.

 

Also, this feature requires an Azure AD Premium P1 license for each unique user that is a member of one or more dynamic groups. You can't use dynamic groups with an Azure AD Free or Azure AD Basic license.

 

Regards

Shaqeel


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel