Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.
MIT License
111 stars 172 forks source link

Calendar get api only brings 50 events, so some meetings are not surfacing #8576

Closed maririos closed 1 month ago

maririos commented 1 month ago

This is causing issues where a user tries to update a meeting that was created a while back and the updates don't take place because the meeting information is not returned from the Get events from calendar API that PowerApps provides.

We should look into a way to filter so we can get the information we need.

the meeting that is blocked by this is https://github.com/Azure/azure-sdk-pr/issues/1695 because they need to update the meeting and the flow is failing because it can retrieve the outlook event

maririos commented 1 month ago

I tried filtering by the webLink but the API doesn't support it. Other possible way to filter results is by filtering by the subject name, which we have in the apps. The downside is that we might need to modify the parameters of the flow so we pass the subject. This will cause a change in all 3 apps.

The flow will be like: image

where we woould need to do replace(triggerBody()['text'],'&','%26') because & is a special reserve character that it is used in the subject, like for example Azure SDK - Azure.Core & Event Grid System Events

praveenkuttappan commented 1 month ago

I have used start and end time to filter the meetings. Here is a good reference about ODATA filter for outlook events. https://rakhesh.com/power-platform/get-events-v4-vs-get-calendar-view-of-events-v3/