Skip to content

Commit d359647

Browse files
authored
Merge pull request #26095 from microsoftgraph/freshness-deltaQuery-groups
[Content-Freshness] Delta query - groups
2 parents 1491a23 + 0747083 commit d359647

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

concepts/delta-query-groups.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: "Get incremental changes for groups"
3-
description: "Use delta query to discover changes without fetching the entire set of groups to compare changes. Example shows a series of requests to track changes to groups."
3+
description: "Learn how to use delta query in Microsoft Graph to discover changes without fetching the entire set of groups to compare changes."
44
author: FaithOmbongi
55
ms.author: ombongifaith
66
ms.reviewer: keylimesoda
77
ms.topic: tutorial
88
ms.subservice: change-notifications
99
ms.localizationpriority: high
1010
ms.custom: graphiamtop20
11-
ms.date: 01/12/2024
11+
ms.date: 01/15/2025
1212
#customer intent: As a developer, I want to track changes to groups, so that I can build apps that process the changes according to the business requirements.
1313
---
1414

@@ -44,10 +44,11 @@ To track changes in the group resource, make a request and include the **delta**
4444
4545
Take note of the following items:
4646

47-
- The optional `$select` query parameter is included in the request to demonstrate how query parameters are automatically included in future requests. If required, query parameters must be specified in the initial request.
47+
- The optional `$select` query parameter is included in the request to demonstrate how query parameters are automatically included in future requests. If you want to use query parameters to control how much data is returned, you must include them in the initial request.
4848
- Only properties included in `$select` are tracked for changes. If `$select` isn't specified, all properties of the object are tracked for changes.
4949
- The optional `$select` query parameter is also used to show how group members can be retrieved together with group objects. This capability allows tracking of membership changes, such as when users are added or removed from groups.
5050
- The initial request doesn't include a state token. State tokens are used in subsequent requests.
51+
- Subsequent requests can't be modified.
5152
- [Limitations of query parameters in delta functions](delta-query-overview.md#optional-query-parameters).
5253

5354
# [HTTP](#tab/http)
@@ -283,7 +284,7 @@ GET https://graph.microsoft.com/v1.0/groups/delta?$skiptoken=ppqwSUjGYvb3jQpbwVA
283284

284285
### Final nextLink response
285286

286-
When a `@odata.deltaLink` URL is returned, there's no more data about the existing state of group objects. For future requests, the application uses the `@odata.deltaLink` URL to learn about other changes to groups. Save the `deltatoken` and use it in the subsequent request URL to discover more changes to groups.
287+
When a `@odata.deltaLink` URL is returned, there's no more data about the existing state of group objects. For future requests, the application uses the `@odata.deltaLink` URL to learn about other changes to groups. Save the `deltatoken` and use it in the subsequent request URL to discover more changes to groups.
287288

288289
<!-- {
289290
"blockType": "response",
@@ -398,7 +399,7 @@ Some things to note about the example response:
398399
- The objects are returned with the same set of properties originally specified via the `$select` query parameter.
399400
- Both changed and unchanged properties are included - the **description** property has a new value, while the **displayName** property hasn't changed.
400401
- `members@delta` contains the following changes to the group membership.
401-
- The user with ID `632f6bb2-3ec8-4c1f-9073-0027a8c6859` was removed from the group by removing their membership, as described by the `@removed` property. Objects that are removed from a group through deletion of the object aren't detected by delta queries.
402+
- The user with ID `632f6bb2-3ec8-4c1f-9073-0027a8c6859` was removed from the group by removing their membership, as described by the `@removed` property. However, the delta function doesn't detect members that are removed from a group through deletion of the member object.
402403
- The second user with ID `37de1ae3-408f-4702-8636-20824abda004` was added to the group.
403404

404405
A group object can contain the `@removed` annotation in the following scenarios:
@@ -447,7 +448,7 @@ Content-type: application/json
447448
The `members@delta` property is included in group objects by default, when the `$select` query parameter isn't specified, or when the `$select=members` parameter is explicitly specified. For groups with many members, it's possible that all members can't fit into a single response. Implement the following pattern to handle such cases.
448449

449450
> [!NOTE]
450-
> This pattern applies to both the initial retrieval of group state as well as to subsequent calls to get delta changes.
451+
> This pattern applies to both the initial retrieval of group state and to subsequent calls to get delta changes.
451452
452453
Let's assume you're running the following delta query - either to capture the initial full state of groups, or later on to get delta changes:
453454

0 commit comments

Comments
 (0)