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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,410 questions
{count} vote