I am unable to get the desired results using a $expand and $filter in Odata on a REST API GET call. Basically looking to filter results so only properties.status = 'Closed' are returned on the GET API call. So far the expand and filters receive 200 OK but are not honoring the filtering in the body results.
https://management.azure.com/subscriptions/{SUBID}/resourceGroups/{RGNAME}/providers/Microsoft.OperationalInsights/workspaces/{WorkspaceName}/providers/Microsoft.SecurityInsights/Cases?api-version=2019-01-01-preview&$expand=properties($filter=status eq 'Closed')
eventually adding a 2nd filter like:
&$expand=properties($filter=status eq 'Closed' and relatedalertproductnames eq 'Azure Security Center')