@@ -46,15 +46,26 @@ First, you'll create a group for your guest users who all are from a single part
46
46
![ select command to start a new group] ( ./media/groups-dynamic-tutorial/new-group.png )
47
47
3 . On the ** Group** blade:
48
48
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.
58
69
59
70
## Assign licenses
60
71
0 commit comments