(Deprecated) Office 365 Users Membership Rule Command Description
This membership rule command updates Office 365 Dynamiс Group membership with the Office 365 users that meet certain query criteria.
NOTE: This command is deprecated. Please use Microsoft 365 Users Membership Rule Command.
Membership Rule Command Settings
| Setting name | Description |
|---|---|
EnabledFilter |
Specify if you need to query all Office 365 users, or only enabled, or disabled. |
SearchString |
Specify the search string that defines the first letters of the Active Directory user name. |
|
UserPrincipalName Title Department City State Country |
You can filter data by different attributes. |
Domain Name |
Specify the domain to filter results on. This must be a verified domain for the company. All users with an email address, primary or secondary, on this domain is returned. |
Filter |
To hide unwanted data returned by the query, set the filtering conditions. |
UnlicensedUsersOnly |
Check if you need to filter only users who are not assigned a license. |
| More Parameters | |
ObjectID (GUID) |
Specify the unique object ID of the user to get. |
TenantID (GUID) |
Specify the unique ID of the tenant on which to perform the operation. |
UsageLocation |
Specify the filter for the country where the services are consumed by the user. Specify a two-letter country code. |
LicenseReconciliationNeededOnly |
Check if you need to filter for only users that require license reconciliation. |
HasErrorsOnly |
Check if you need to filter only users that have validation errors. |
ReturnDeletedUsers |
Check if you need to filter only users in the recycling bin. |
Synchronized |
Check if you need to filter only users who are synchronized through Azure Active Directory Sync. |
UnlicensedUsersOnly |
Check if you need to filter only users who are not assigned a license. |
MaxResults |
The maximum number of mailboxes returned from Office 365. The default value is taken from the Maximum returned results setting on HOME > CONFIGURATION > Microsoft 365 extension settings. |
Related Articles
- Creating Dynamic Groups
- Membership Rule Commands for Active Directory and Microsoft 365 Dynamic Groups
Change History
| Version | Notes |
|---|---|
| 8.2.0 | The command was deprecated |
Comments
0 comments
Please sign in to leave a comment.