microsoft-graph-devx-api icon indicating copy to clipboard operation
microsoft-graph-devx-api copied to clipboard

Add support for `any` operator on `passwordCredentials`

Open santisq opened this issue 11 months ago • 0 comments

I'm not sure if this is the correct repo to ask, if not please let me know which one and I'll transfer this request there.

The request is to ask for any operator support on passwordCredentials collection on the applications endpoint, so that a query like this is possible:

GET v1.0/applications?$filter=passwordCredentials/any(e: e/endDateTime ge ....)&$count=true
ConsistencyLevel: eventual

This is particularly useful to quickly identify applications with long expiring secrets. Currently the workaround is filtering client side, however that can be particularly slow on Tenants having hundred of thousand of apps.

santisq avatar Feb 12 '25 14:02 santisq