Microsoft 365 Users Membership Rule Command
This membership rule command updates Microsoft 365 Dynamiс Group membership with the Microsoft 365 users that meet certain query criteria and filter settings.
Membership Rule Command Settings
| Setting name | Description |
|---|---|
| Limit scope to this Azure AD Administrative Unit | You can select Azure AD Administrative Unit to limit the command scope. |
| Query criteria |
Query criteria are sent to the target platform with other query parameters to reduce the number of returned objects and may improve query performance. Example: Search for guest users created in the last 30 days.Copy/paste this script and set User type to Guest.
Copy
|
| Sync status | Specify user sync status: all, cloud-only, or synced only. |
| User type | Specify user type: all member types, members, or guests only. |
| Post-query filter |
To hide unwanted data based on criteria, not supported by the target system in the query criteria, set the filtering conditions here. Example: filter by the found object Distinguished Name. TIP: For optimal performance, use the Query criteria above to filter objects whenever possible. |
| More Parameters | |
| MS Graph query condition (OData) |
When the MS Graph query condition is specified, it overrides the Query criteria setting. You can use OData filters supported by MS Graph that will be added to API requests. For examples please see this article: How to use Query Builder dialog for Query Criteria and Filter rule settings. |
MaxResults |
Specify the maximum number of objects returned from Microsoft 365. The default value is taken from the Maximum returned results setting on Home > Configuration > Connected Systems Extensions > 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 added |
Comments
0 comments
Please sign in to leave a comment.