microsoftgraph / microsoftgraph/msgraph-sdk-dotnet

MS Exchange sending differed renewal subscription payload as compared to the given documentation.

Open
#3,103 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Service issue type:bug
Dominant language
C#
Stars
789
Forks
264
Avg merge
15h 17m
Merged PRs (30d)
3

Description

Describe the bug

MS Exchange sending differed renewal subscription payload as compared to the given documentation. tenantId has been changed organizationId. however tenantid is still used other notifications like Mail, GroupChange

Expected behavior

Expected:

{
"value": [
{
"subscriptionId":"<subscription_guid>",
"subscriptionExpirationDateTime":"2019-03-20T11:00:00.0000000Z",
"tenantId": "<tenant_guid>",
"clientState":"",
"lifecycleEvent": "subscriptionRemoved or missed or reauthorizationRequired" }
]
}

Actual

{
"value": [
{
"subscriptionId": "",
"encryptedContent": null,
"organizationId": "",
"lifecycleEvent": "reauthorizationRequired",
"clientState": "",
"subscriptionExpirationDateTime": "2026-04-29T16:08:45.5745035+00:00",
"resource": "Subscriptions/",
"resourceChangeType": null,
"resourceData": {
"@odata.id": "subscriptions/",
"@odata.type": "#microsoft.graph.subscription",
"id": ""
}
}
]
}

How to reproduce

Create simple mail subscription with Lifecycleurl notification and monitor renew notification payload.

SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output
Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing a Microsoft Graph mail subscription with a lifecycle URL and compare the renewal notification payload with the documented schema. Trace the SDK's lifecycle notification handling to determine why organizationId is emitted instead of tenantId; done when renewal payloads match the expected contract without changing tenantId behavior for Mail and GroupChange notifications.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.