When invoking https://management.azure.com/providers/microsoft.insights/eventtypes/management/values?api-version=2015-04-01&`$filter=eventTimestamp ge '$($dateFormatForQuery)
you get in certain cases an empty result with a nextlink to fetch - or you get multiple pages with nextLink in response - so you need to iterate and fetch the result (fix coming)