microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
MS Exchange sending differed renewal subscription payload as compared to the given documentation.
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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