Skip to content

Commit fc7011f

Browse files
Merge pull request #38829 from cchapin2020/patch-3
Update groups-dynamic-tutorial.md instructions
2 parents 4f3a4ed + ea6c3ce commit fc7011f

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

articles/active-directory/users-groups-roles/groups-dynamic-tutorial.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,26 @@ First, you'll create a group for your guest users who all are from a single part
4646
![select command to start a new group](./media/groups-dynamic-tutorial/new-group.png)
4747
3. On the **Group** blade:
4848

49-
* Select **Security** as the group type
50-
* Enter `Guest users Contoso` as the name and description for the group
51-
* Change **Membership type** to **Dynamic User**
52-
* Select **Add dynamic query**
53-
54-
4. Select **Advanced rule**, and in the **Advanced rule** box, enter:
55-
`(user.userType -eq "Guest") -and (user.companyName -eq "Contoso")`
56-
5. Select **Add query** to close the blade.
57-
6. On the **Group** blade, select **Create** to create the group.
49+
* Select **Security** as the group type.
50+
* Enter `Guest users Contoso` as the name and description for the group.
51+
* Change **Membership type** to **Dynamic User**.
52+
53+
4. Select **Owners** and in the **Add Owners** blade search for any desired owners. Click on the desired owners to add to the selection.
54+
5. Click **Select** to close the **Add Owners** blade.
55+
6. Select **Edit dynamic query** in the **Dynamic user members** box.
56+
7. On the **Dynamic membership rules** blade:
57+
58+
* In the **Property** field, click on the existing value and select **userType**.
59+
* Verify that the **Operator** field has **Equals** selected.
60+
* Select the **Value** field and enter **Guest**.
61+
* Click the **Add Expression** hyperlink to add another line.
62+
* In the **And/Or** field, select **And**.
63+
* In the **Property** field, select **companyName**.
64+
* Verify that the **Operator** field has **Equals** selected.
65+
* In the **Value** field, enter **Contoso**.
66+
* Click **Save** to close the **Dynamic membership rules** blade.
67+
68+
8. On the **Group** blade, select **Create** to create the group.
5869

5970
## Assign licenses
6071

0 commit comments

Comments
 (0)