Optimizing subscription query using filter for GET /subscriptions


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