Expected behavior
Subscription Lifecycle events (and possibly others) that contain an organizationId property instead of a tenantId property should be fully parsed.
Actual behavior
When a subscription lifecycle notification such as the following is sent, organizationId property not being parsed (does not exist in the ChangeNotification class):
{
"value": [
{
"lifecycleEvent": "reauthorizationRequired",
"subscriptionId": "subscription-id-uuid",
"resource": "",
"clientState": "client-state",
"sequence": null,
"resourceData": {
"@odata.type": "#microsoft.graph.subscription",
"@odata.id": "subscriptions/subscription-id-uuid",
"id": "resource-id-uuid"
},
"encryptedContent": null,
"organizationId": "organization-id-uuid",
"subscriptionExpirationDateTime": "2023-09-05T01:03:01.889254-07:00"
}
],
"validationTokens": [
"validation-toke-value"
]
}
Steps to reproduce the behavior
As it is unclear (to me at least) when change notifications are sent with the organizationId property instead of the tenantId property, there is no consistent reproduction scenario.
Expected behavior
Subscription Lifecycle events (and possibly others) that contain an
organizationIdproperty instead of atenantIdproperty should be fully parsed.Actual behavior
When a subscription lifecycle notification such as the following is sent,
organizationIdproperty not being parsed (does not exist in theChangeNotificationclass):{ "value": [ { "lifecycleEvent": "reauthorizationRequired", "subscriptionId": "subscription-id-uuid", "resource": "", "clientState": "client-state", "sequence": null, "resourceData": { "@odata.type": "#microsoft.graph.subscription", "@odata.id": "subscriptions/subscription-id-uuid", "id": "resource-id-uuid" }, "encryptedContent": null, "organizationId": "organization-id-uuid", "subscriptionExpirationDateTime": "2023-09-05T01:03:01.889254-07:00" } ], "validationTokens": [ "validation-toke-value" ] }Steps to reproduce the behavior
As it is unclear (to me at least) when change notifications are sent with the
organizationIdproperty instead of thetenantIdproperty, there is no consistent reproduction scenario.