We have calendar event subscriptions and we get the following response.
{
"value": [{
"subscriptionId": "xxxxxxxx-878b-4d07-8539-1da3axxxxxxxx",
"subscriptionExpirationDateTime": "2021-03-07T02:30:14.5887657-08:00",
"changeType": "created",
"resource": "Users/0b53683d-fd4c-4ca4-9f3a-3c6bxxxxxxxx/Events/AAMkAGZjZWFlNWJkLTAzMTctNGEzNy1hZjA4LWRmNDQwNDczYWRjOQBGAAAAAAAkVKcbJTK2T7-a4sSv1LzgBwDdRTpe0854Qan5mu_s52tQAAAAsmZUAACye3PIhW7CS4D=",
"resourceData": {
"@odata.type": "#Microsoft.Graph.Event",
"@odata.id": "Users/0b53683d-fd4c-4ca4-9f3a-3c6bxxxxxxxx/Events/AAMkAGZjZWFlNWJkLTAzMTctNGEzNy1hZjA4LWRmNDQwNDczYWRjOQBGAAAAAAAkVKcbJTK2T7-a4sSv1LzgBwDdRTpe0854Qan5mu_s52tQAAAAsmZUAACye3PIhW7CS4D=",
"@odata.etag": "W/\"DwAAABYAAACye3PIhW7CS4DdyklpCnLAxxxxxxxx\"",
"id": "AAMkAGZjZWFlNWJkLTAzMTctNGEzNy1hZjA4LWRmNDQwNDczYWRjOQBGAAAAAAAkVKcbJTK2T7-a4sSv1LzgBwDdRTpe0854Qan5mu_s52tQAAAAsmZUAACye3PIhW7CS4D="
},
"clientState": "REPLACE",
"tenantId": "xxxxxxxx-004e-444d-93e8-f7e8xxxxxxxx"
}]
}
we found that "id" field mentioned in the json is not unique and we can clearly see other events assigned with the same id. Also for an event "iCalUId" is a unique id. So when we call the event details using above "id" we get details of a different event sometimes or am I missing something?
Please suggest if we can access "iCalUId" in subscription response.
Thanks.