Skip to content

Commit ba9d715

Browse files
authored
Merge pull request #200975 from curtand/dahl0608
[Azure AD groups] minor updates to dynamic rules
2 parents bed6d81 + 90e8c22 commit ba9d715

File tree

1 file changed

+52
-52
lines changed

1 file changed

+52
-52
lines changed

articles/active-directory/enterprise-users/groups-dynamic-membership.md

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.service: active-directory
99
ms.subservice: enterprise-users
1010
ms.workload: identity
1111
ms.topic: overview
12-
ms.date: 06/03/2022
12+
ms.date: 06/08/2022
1313
ms.author: curtand
1414
ms.reviewer: krbain
1515
ms.custom: it-pro
@@ -67,7 +67,7 @@ A membership rule that automatically populates a group with users or devices is
6767
- Operator
6868
- Value
6969

70-
The order of the parts within an expression are important to avoid syntax errors.
70+
The order of the parts within an expression is important to avoid syntax errors.
7171

7272
## Supported properties
7373

@@ -90,41 +90,41 @@ dirSyncEnabled |true false |user.dirSyncEnabled -eq true
9090

9191
| Properties | Allowed values | Usage |
9292
| --- | --- | --- |
93-
| city |Any string value or *null* |(user.city -eq "value") |
94-
| country |Any string value or *null* |(user.country -eq "value") |
95-
| companyName | Any string value or *null* | (user.companyName -eq "value") |
96-
| department |Any string value or *null* |(user.department -eq "value") |
97-
| displayName |Any string value |(user.displayName -eq "value") |
98-
| employeeId |Any string value |(user.employeeId -eq "value")<br>(user.employeeId -ne *null*) |
99-
| facsimileTelephoneNumber |Any string value or *null* |(user.facsimileTelephoneNumber -eq "value") |
100-
| givenName |Any string value or *null* |(user.givenName -eq "value") |
101-
| jobTitle |Any string value or *null* |(user.jobTitle -eq "value") |
102-
| mail |Any string value or *null* (SMTP address of the user) |(user.mail -eq "value") |
103-
| mailNickName |Any string value (mail alias of the user) |(user.mailNickName -eq "value") |
104-
| memberOf | Any string value (valid group object ID) | (device.memberof -any (group.objectId -in ['value'])) |
105-
| mobile |Any string value or *null* |(user.mobile -eq "value") |
106-
| objectId |GUID of the user object |(user.objectId -eq "11111111-1111-1111-1111-111111111111") |
107-
| onPremisesDistinguishedName (preview)| Any string value or *null* |(user.onPremisesDistinguishedName -eq "value") |
108-
| onPremisesSecurityIdentifier | On-premises security identifier (SID) for users who were synchronized from on-premises to the cloud. |(user.onPremisesSecurityIdentifier -eq "S-1-1-11-1111111111-1111111111-1111111111-1111111") |
109-
| passwordPolicies |None DisableStrongPassword DisablePasswordExpiration DisablePasswordExpiration, DisableStrongPassword |(user.passwordPolicies -eq "DisableStrongPassword") |
110-
| physicalDeliveryOfficeName |Any string value or *null* |(user.physicalDeliveryOfficeName -eq "value") |
111-
| postalCode |Any string value or *null* |(user.postalCode -eq "value") |
112-
| preferredLanguage |ISO 639-1 code |(user.preferredLanguage -eq "en-US") |
113-
| sipProxyAddress |Any string value or *null* |(user.sipProxyAddress -eq "value") |
114-
| state |Any string value or *null* |(user.state -eq "value") |
115-
| streetAddress |Any string value or *null* |(user.streetAddress -eq "value") |
116-
| surname |Any string value or *null* |(user.surname -eq "value") |
117-
| telephoneNumber |Any string value or *null* |(user.telephoneNumber -eq "value") |
118-
| usageLocation |Two lettered country/region code |(user.usageLocation -eq "US") |
119-
| userPrincipalName |Any string value |(user.userPrincipalName -eq "alias@domain") |
120-
| userType |member guest *null* |(user.userType -eq "Member") |
93+
| city |Any string value or *null* | user.city -eq "value" |
94+
| country |Any string value or *null* | user.country -eq "value" |
95+
| companyName | Any string value or *null* | user.companyName -eq "value" |
96+
| department |Any string value or *null* | user.department -eq "value" |
97+
| displayName |Any string value | user.displayName -eq "value" |
98+
| employeeId |Any string value | user.employeeId -eq "value"<br>user.employeeId -ne *null* |
99+
| facsimileTelephoneNumber |Any string value or *null* | user.facsimileTelephoneNumber -eq "value" |
100+
| givenName |Any string value or *null* | user.givenName -eq "value" |
101+
| jobTitle |Any string value or *null* | user.jobTitle -eq "value" |
102+
| mail |Any string value or *null* (SMTP address of the user) | user.mail -eq "value" |
103+
| mailNickName |Any string value (mail alias of the user) | user.mailNickName -eq "value" |
104+
| memberOf | Any string value (valid group object ID) | user.memberof -any (group.objectId -in ['value']) |
105+
| mobile |Any string value or *null* | user.mobile -eq "value" |
106+
| objectId |GUID of the user object | user.objectId -eq "11111111-1111-1111-1111-111111111111" |
107+
| onPremisesDistinguishedName (preview)| Any string value or *null* | user.onPremisesDistinguishedName -eq "value" |
108+
| onPremisesSecurityIdentifier | On-premises security identifier (SID) for users who were synchronized from on-premises to the cloud. | user.onPremisesSecurityIdentifier -eq "S-1-1-11-1111111111-1111111111-1111111111-1111111" |
109+
| passwordPolicies |None<br>DisableStrongPassword<br>DisablePasswordExpiration<br>DisablePasswordExpiration, DisableStrongPassword | user.passwordPolicies -eq "DisableStrongPassword" |
110+
| physicalDeliveryOfficeName |Any string value or *null* | user.physicalDeliveryOfficeName -eq "value" |
111+
| postalCode |Any string value or *null* | user.postalCode -eq "value" |
112+
| preferredLanguage |ISO 639-1 code | user.preferredLanguage -eq "en-US" |
113+
| sipProxyAddress |Any string value or *null* | user.sipProxyAddress -eq "value" |
114+
| state |Any string value or *null* | user.state -eq "value" |
115+
| streetAddress |Any string value or *null* | user.streetAddress -eq "value" |
116+
| surname |Any string value or *null* | user.surname -eq "value" |
117+
| telephoneNumber |Any string value or *null* | user.telephoneNumber -eq "value" |
118+
| usageLocation |Two lettered country/region code | user.usageLocation -eq "US" |
119+
| userPrincipalName |Any string value | user.userPrincipalName -eq "alias@domain" |
120+
| userType |member guest *null* | user.userType -eq "Member" |
121121

122122
### Properties of type string collection
123123

124-
| Properties | Allowed values | Usage |
124+
| Properties | Allowed values | Example |
125125
| --- | --- | --- |
126-
| otherMails |Any string value |(user.otherMails -contains "alias@domain") |
127-
| proxyAddresses |SMTP: alias@domain smtp: alias@domain |(user.proxyAddresses -contains "SMTP: alias@domain") |
126+
| otherMails |Any string value | user.otherMails -contains "alias@domain" |
127+
| proxyAddresses |SMTP: alias@domain smtp: alias@domain | user.proxyAddresses -contains "SMTP: alias@domain" |
128128

129129
For the properties used for device rules, see [Rules for devices](#rules-for-devices).
130130

@@ -162,12 +162,12 @@ The **-match** operator is used for matching any regular expression. Examples:
162162
```
163163
user.displayName -match "Da.*"
164164
```
165-
Da, Dav, David evaluate to true, aDa evaluates to false.
165+
`Da`, `Dav`, `David` evaluate to true, aDa evaluates to false.
166166

167167
```
168168
user.displayName -match ".*vid"
169169
```
170-
David evaluates to true, Da evaluates to false.
170+
`David` evaluates to true, `Da` evaluates to false.
171171

172172
## Supported values
173173

@@ -278,7 +278,7 @@ user.assignedPlans -any (assignedPlan.service -eq "SCO" -and assignedPlan.capabi
278278

279279
#### Example 3
280280

281-
The following expression selects all users who have no asigned service plan:
281+
The following expression selects all users who have no assigned service plan:
282282

283283
```
284284
user.assignedPlans -all (assignedPlan.servicePlanId -eq "")
@@ -383,22 +383,22 @@ The following device attributes can be used.
383383

384384
Device attribute | Values | Example
385385
----- | ----- | ----------------
386-
accountEnabled | true false | (device.accountEnabled -eq true)
387-
displayName | any string value |(device.displayName -eq "Rob iPhone")
388-
deviceOSType | any string value | (device.deviceOSType -eq "iPad") -or (device.deviceOSType -eq "iPhone")<br>(device.deviceOSType -contains "AndroidEnterprise")<br>(device.deviceOSType -eq "AndroidForWork")<br>(device.deviceOSType -eq "Windows")
389-
deviceOSVersion | any string value | (device.deviceOSVersion -eq "9.1")<br>(device.deviceOSVersion -startsWith "10.0.1")
390-
deviceCategory | a valid device category name | (device.deviceCategory -eq "BYOD")
391-
deviceManufacturer | any string value | (device.deviceManufacturer -eq "Samsung")
392-
deviceModel | any string value | (device.deviceModel -eq "iPad Air")
393-
deviceOwnership | Personal, Company, Unknown | (device.deviceOwnership -eq "Company")
394-
enrollmentProfileName | Apple Device Enrollment Profile name, Android Enterprise Corporate-owned dedicated device Enrollment Profile name, or Windows Autopilot profile name | (device.enrollmentProfileName -eq "DEP iPhones")
395-
isRooted | true false | (device.isRooted -eq true)
396-
managementType | MDM (for mobile devices) | (device.managementType -eq "MDM")
397-
memberOf | Any string value (valid group object ID) | (user.memberof -any (group.objectId -in ['value']))
398-
deviceId | a valid Azure AD device ID | (device.deviceId -eq "d4fe7726-5966-431c-b3b8-cddc8fdb717d")
399-
objectId | a valid Azure AD object ID | (device.objectId -eq "76ad43c9-32c5-45e8-a272-7b58b58f596d")
400-
devicePhysicalIds | any string value used by Autopilot, such as all Autopilot devices, OrderID, or PurchaseOrderID | (device.devicePhysicalIDs -any _ -contains "[ZTDId]") (device.devicePhysicalIds -any _ -eq "[OrderID]:179887111881") (device.devicePhysicalIds -any _ -eq "[PurchaseOrderId]:76222342342")
401-
systemLabels | any string matching the Intune device property for tagging Modern Workplace devices | (device.systemLabels -contains "M365Managed")
386+
accountEnabled | true false | device.accountEnabled -eq true
387+
displayName | any string value | device.displayName -eq "Rob iPhone"
388+
deviceOSType | any string value | (device.deviceOSType -eq "iPad") -or (device.deviceOSType -eq "iPhone")<br>device.deviceOSType -contains "AndroidEnterprise"<br>device.deviceOSType -eq "AndroidForWork"<br>device.deviceOSType -eq "Windows"
389+
deviceOSVersion | any string value | device.deviceOSVersion -eq "9.1"<br>device.deviceOSVersion -startsWith "10.0.1"
390+
deviceCategory | a valid device category name | device.deviceCategory -eq "BYOD"
391+
deviceManufacturer | any string value | device.deviceManufacturer -eq "Samsung"
392+
deviceModel | any string value | device.deviceModel -eq "iPad Air"
393+
deviceOwnership | Personal, Company, Unknown | device.deviceOwnership -eq "Company"
394+
enrollmentProfileName | Apple Device Enrollment Profile name, Android Enterprise Corporate-owned dedicated device Enrollment Profile name, or Windows Autopilot profile name | device.enrollmentProfileName -eq "DEP iPhones"
395+
isRooted | true false | device.isRooted -eq true
396+
managementType | MDM (for mobile devices) | device.managementType -eq "MDM"
397+
memberOf | Any string value (valid group object ID) | device.memberof -any (group.objectId -in ['value'])
398+
deviceId | a valid Azure AD device ID | device.deviceId -eq "d4fe7726-5966-431c-b3b8-cddc8fdb717d"
399+
objectId | a valid Azure AD object ID | device.objectId -eq "76ad43c9-32c5-45e8-a272-7b58b58f596d"
400+
devicePhysicalIds | any string value used by Autopilot, such as all Autopilot devices, OrderID, or PurchaseOrderID | device.devicePhysicalIDs -any _ -contains "[ZTDId]"<br>(device.devicePhysicalIds -any _ -eq "[OrderID]:179887111881"<br>(device.devicePhysicalIds -any _ -eq "[PurchaseOrderId]:76222342342"
401+
systemLabels | any string matching the Intune device property for tagging Modern Workplace devices | device.systemLabels -contains "M365Managed"
402402

403403
> [!NOTE]
404404
> For the deviceOwnership when creating Dynamic Groups for devices you need to set the value equal to "Company". On Intune the device ownership is represented instead as Corporate. Refer to [OwnerTypes](/intune/reports-ref-devices#ownertypes) for more details.

0 commit comments

Comments
 (0)