Skip to content

Commit 67a9e10

Browse files
learn-build-service-prod[bot]kawkaurDanipocketLi DaiFaithOmbongi
authored
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/microsoftgraph/microsoft-graph-docs-contrib (branch main) (#28706)
* add whiteboard extension * JSON Format fix - remove trailing comma * cross-link to parent (#9856) * Update supported source extensions for HTML format * Rename 'Tenant management' to 'Tenants' * Document auto-owner behavior for Agent ID Developer role (#9857) * Document auto-owner behavior for Agent ID Developer role Added notes to the Create agentIdentityBlueprint and Create agentIdentityBlueprintPrincipal API docs explaining that users with the Agent ID Developer role are automatically added as owners of the blueprints and blueprint principals they create. Updated the shared RBAC include (rbac-agentid-apis-write.md) to: - Expand scope to cover blueprints, blueprint principals, and agent identities - Clarify the auto-owner behavior Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Address review: update auto-owner language, remove redundant notes - Update RBAC include to use 'principal...is assigned ownership' language per reviewer feedback - Remove [!NOTE] blocks from blueprint and blueprint principal create docs (info already in shared RBAC include) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Trigger crlf check; concise --------- Co-authored-by: STALLAMRAJU <swtallamraju@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Faith Moraa Ombongi <ombongi.moraa.fe@gmail.com> * Fix formatting of known issue in RBAC documentation (#9864) * Fix formatting of known issue in RBAC documentation * Fix formatting of known issue in RBAC documentation * Update change-notifications-delivery-webhooks.md (#9863) * Update change-notifications-delivery-webhooks.md Corrected description of timeout handling. * Update change-notifications-delivery-webhooks.md minor fixes. * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Faith Moraa Ombongi <ombongi.moraa.fe@gmail.com> --------- Co-authored-by: Faith Moraa Ombongi <ombongi.moraa.fe@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: kawkaur <kawkaur@microsoft.com_msteamsmdb> Co-authored-by: Danipocket <88507770+Danipocket@users.noreply.github.com> Co-authored-by: Li Dai <daili@microsoft.com> Co-authored-by: Faith Moraa Ombongi <ombongi.moraa.fe@gmail.com> Co-authored-by: Laura Graham <Lauragra@users.noreply.github.com> Co-authored-by: learn-build-service-prod[bot] <113403604+learn-build-service-prod[bot]@users.noreply.github.com> Co-authored-by: Learn Build Service GitHub App <Learn Build Service LearnBuild@microsoft.com> Co-authored-by: swetheendra <31578080+swetheendra@users.noreply.github.com> Co-authored-by: STALLAMRAJU <swtallamraju@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: mjfdev84 <276818289+mjfdev84@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 22d9f7b commit 67a9e10

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

concepts/change-notifications-delivery-webhooks.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,23 @@ Your endpoint must provide correct, consistent, and timely HTTP responses in ord
3131
Your endpoint must also continue to remain authenticated to Microsoft Graph, either by continually renewing your subscription or by responding to lifecycle notifications.
3232

3333
### HTTP codes and retry logic
34-
Once the Microsoft Graph change notifications service receives a 2xx class code from your endpoint, the notification is considered sent. As long as the change notifications service receives any other HTML response (even an error code) within 10 seconds, the service continues to try to deliver the notification for up to 4 hours.
35-
36-
- If you're able to process the notification within a 3-second window, you should return a `200 - OK` status code to Microsoft Graph
37-
- If your service takes more than 10 seconds to process the notification, then you should persist the notification in a queue on your endpoint and return `202 - Accepted` status code to Microsoft Graph.
38-
- If the notification isn't processed or queued, return a 5xx class code to indicate an error so that Microsoft Graph can retry the notification.
34+
Once the Microsoft Graph change notifications service receives a 2xx HTTP response from your endpoint within 3 seconds, the notification is considered delivered. If the service receives a non-2xx HTTP response within that 3-second window, or if the request times out because no HTTP response is received within that window, it continues to retry delivery for up to 4 hours. For notifications that are retried, the request timeout is extended to 10 seconds.
35+
- If your endpoint is able to process the notification within the 3-second window, it should return a `200 OK` status code to Microsoft Graph.
36+
- Otherwise, we recommend to validate and persist the notification in a queue on your endpoint and return `202 Accepted` status code within the 3-second window.
37+
- If the notification isn't processed or queued, return a `5xx` class code to indicate an error so that Microsoft Graph can retry the notification.
3938

4039
Notifications that fail to deliver are retried at exponential backoff intervals. Missed notifications might take up to 4 hours to resend once your endpoint comes online.
4140

4241
### Throttling
4342
For security and performance reasons, Microsoft Graph throttles notifications sent to endpoints that become slow or unresponsive. It might include dropping notifications in a way that they can't be recovered.
4443

45-
1. An endpoint is marked "slow" once more than 10% of responses take longer than 10 seconds in a 10-minute window.
46-
- Once an endpoint is marked "slow", any new notifications are sent on a 10-second delay.
47-
- An endpoint exits the "slow" state once less than 10% of responses take longer than 10 seconds in a 10-minute window.
44+
1. An endpoint is marked "slow" once more than 10% of responses take longer than the 3-second timeout allowance in a 10-minute window.
45+
- Once an endpoint is marked "slow", any new notifications are sent on after a 10-minute delay.
46+
- Every 10 minutes the process tries to evaluate with a small number of notifications if the percentage of timeouts is under 10% and if so, it exits the slow state.
4847

49-
2. An endpoint is marked "drop" once more than 15% of responses take longer than 10 seconds in a 10-minute window.
50-
- Once an endpoint is marked "drop", any new notifications are dropped, for up to 10 minutes
51-
- An endpoint exits the "drop" state once less than 15% of responses take longer than 10 seconds in a 10-minute window.
48+
2. An endpoint is marked "drop" once more than 15% of responses take longer than the 10-second retry timeout allowance in a 10-minute window.
49+
- Once an endpoint is marked "drop", notifications are dropped for a 10-minute window.
50+
- After the 10-minute period ends, the process periodically sends a small number of notifications. The endpoint exits the "drop" state when less than 15% of responses take longer than the 10-second timeout window.
5251

5352
If your endpoint is unable to meet these performance characteristics, consider using [Event Hubs](/graph/change-notifications-delivery-event-hubs) or [Event Grid](/azure/event-grid/subscribe-to-graph-api-events?context=graph/context) as a target for receiving notifications.
5453

0 commit comments

Comments
 (0)