-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Monitor delegation - Fetching data fails or gets incomplete data set #60
Comments
…zure#61 Added fix for parsing description field.
Hi. $list = Invoke-RestMethod @listOperations Comment: First link can be empty - and point to a next link (or potentially multiple pages) $showOperations = $data; $data does not get set if there is no value for $list.nextLink. Then the script does not work. For the same tenant - if I set $showOperations = $list.value, I get an event as expected. This works for me: if ($null -ne $list.nextLink){
} |
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)
The text was updated successfully, but these errors were encountered: