Share via

Optimizing subscription query using filter for GET /subscriptions

Anonymous
2023-11-21T14:31:32.13+00:00

Our application needs to manage tens of thousands of subscriptions. GET /subscriptions doesn't support $select or $filter, so when the app checks if a subscription exists, it has to compare it to every subscription, leading to O(N^2) complexity. Is there a way to filter better?

Microsoft Security | Microsoft Graph

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.