Exercise - explore dynamic groups
The goal of this exercise is to create a dynamic group with all users as members.
- Sign in to the Microsoft Entra admin center with an account that is assigned the User administrator role in the tenant.
- Select Identity.
- Under Groups, select All Groups, and then select New group.
- On the New Group page, under Group type, select Security.
- In the Group name box, enter All company users dynamic group.
- Select the Membership type menu and then select Dynamic User.
- Under Dynamic user members, select Add dynamic query.
- On the right above the Rule syntax box, select Edit.
- In the Edit rule syntax pane, enter the following expression in the Rule syntax box: user.objectId -ne null
- Select OK. The rule appears in the Rule syntax box.
- Select Save. The new dynamic group will now include B2B guest users as well as member users.
- On the New group page, select Create to create the group.