Forum Discussion
Azure REST API - $filter param for time delta throws ProviderError
I received an update from our dev that you will need to use the correct API version using the following supported query. Please review below and let us know if you have additional questions or concerns.
Update from dev:
This is how you write the query, this is supported:
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmanagement.azure.com%2Fsubscriptions%2F%257bSub&data=02%7C01%7C%7C4cb8a9bff9154b23b9e708d75bca8fde%7C8a807b9b02da47f3a903791a42a2285c%7C0%7C0%7C637078797895103005&sdata=cNsAbaQp2wMF3DklF6EpxP8gZDomQVoo4ofQUl7N99E%3D&reserved=0 ID}/providers/Microsoft.Security/alerts/?api-version=2019-01-01&$filter=Properties/ReportedTimeUtc gt 2019-10-22T01:40:02.4275428Z
1) Properties/ReportedTimeUtc is case sensitive
2) Notice the use of a ‘/’ instead of ‘.’