Dynamic unified group

Iron Contributor

Hi Experts

I am using exchange hybrid environment, all my users are created on onprem and migrated to cloud. for example i have user1 whose department number is 100, every user has department number in AD attribute. i have another user whose department number is 101. my requirement is to add these users to office365 unified group dynamically, i.e user whose department number is 100 or 101 should be added to this office365 group dynamically and if tomorrow employee leaves the company it should be removed automatically,or is it possible to create a dynamic group in Azure AD to pull the members of department 100 and 101 and add this group to office365 unified group. Experts guide me on this.

1 Reply

@Roger Roger   The Answer is yes.  Dynamic Group required you to have an Azure AD Premium P1 License. You can then follow the instructions here to create a dynamic group.  https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-create-rule

https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/groups-dynamic-membership

The Group could be an Office 365 group or a Security Group.