Skip to content

Commit ea82d7f

Browse files
authored
Merge pull request #28465 from microsoftgraph/isgupta-patch-1
Clarify reauthorization and update request guidelines
2 parents bc48ecb + e535b49 commit ea82d7f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

concepts/change-notifications-lifecycle-events.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,10 @@ The following steps represent the flow of an authorization challenge for an acti
160160
1. Acknowledge receipt of the lifecycle notification by responding to the POST call with `202 - Accepted` response code.
161161
2. Validate the authenticity of the lifecycle notification.
162162
3. Ensure that the app has a valid access token to take the next step.
163-
4. Call either of the following two APIs. If the API call succeeds, the change notification flow resumes.
163+
4. Call *either* of the following two APIs. If the API call succeeds, the change notification flow resumes.
164+
165+
> [!IMPORTANT]
166+
> Don't issue a reauthorize request (`POST /subscriptions/{id}/reauthorize`) and an update request (`PATCH /subscriptions/{id}`) for the same subscription within a 10-minute window. Sending these requests concurrently or in rapid succession can result in subscription state inconsistencies. To reauthorize and renew a subscription in the same request, use a single `PATCH /subscriptions/{id}` request with an updated **expirationDateTime**, which performs both actions in one operation.
164167
165168
- Call the `/reauthorize` action to reauthorize the subscription without extending its expiration date.
166169

0 commit comments

Comments
 (0)