PowerBI-KQL - Governance.kql.pbit - Payload size error #1704
l3hMichaelPeterson
started this conversation in
General
Replies: 3 comments 1 reply
-
|
@nteyan Did you ever get a chance to look at this one? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This is a bug, it's still open and ongoing:
Is there any workaround? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Uh oh!
There was an error while loading. Please reload this page.
-
The "VirtualMachines" query in this report gives me - "Response payload size is 10722006, and has exceeded the limit of 8388608. Please consider querying less data at a time and make paginated call if needed." Anyone familiar with how to paginate this query ? I've tried various ways using metadata, skipToken, limits but nothing seems to work.
let
query = "
Resources
| where type =~ 'Microsoft.Compute/virtualMachines'
| extend
provisioningState = properties.provisioningState,
timeCreated = properties.timeCreated,
networkProfile = properties.networkProfile,
osProfile = properties.osProfile,
storageProfile = properties.storageProfile,
hardwareProfile = properties.hardwareProfile,
vmId = properties.vmId,
diagnosticsProfile = properties.diagnosticsProfile,
extended = properties.extended,
licenseType = properties.licenseType
| extend
['osProfile.computerName'] = osProfile.computerName,
['osProfile.requireGuestProvisionSignal'] = osProfile.requireGuestProvisionSignal,
['osProfile.allowExtensionOperations'] = osProfile.allowExtensionOperations,
['osProfile.adminUsername'] = osProfile.adminUsername,
['osProfile.secrets'] = osProfile.secrets,
['osProfile.linuxConfiguration'] = osProfile.linuxConfiguration,
['osProfile.windowsConfiguration'] = osProfile.windowsConfiguration,
networkInterfaces = networkProfile.networkInterfaces
| mv-expand ['networkInterfaces']
| extend
['networkInterfaces.properties'] = networkInterfaces.properties,
['networkInterfaces.id'] = networkInterfaces.id,
['networkInterfaces.properties.deleteOption'] = networkInterfaces.properties.deleteOption,
['storageProfile.imageReference'] = storageProfile.imageReference,
['storageProfile.dataDisks'] = storageProfile.dataDisks,
['storageProfile.osDisk'] = storageProfile.osDisk,
['storageProfile.imageReference.publisher'] = storageProfile.imageReference.publisher,
['storageProfile.imageReference.sku'] = storageProfile.imageReference.sku,
['storageProfile.imageReference.version'] = storageProfile.imageReference.version,
['storageProfile.imageReference.exactVersion'] = storageProfile.imageReference.exactVersion,
['storageProfile.imageReference.offer'] = storageProfile.imageReference.offer
| mv-expand ['storageProfile.dataDisks']
| extend
['storageProfile.dataDisks.name'] = storageProfile.dataDisks.name,
['storageProfile.dataDisks.createOption'] = storageProfile.dataDisks.createOption,
['storageProfile.dataDisks.deleteOption'] = storageProfile.dataDisks.deleteOption,
['storageProfile.dataDisks.managedDisk'] = storageProfile.dataDisks.managedDisk,
['storageProfile.dataDisks.caching'] = storageProfile.dataDisks.caching,
['storageProfile.dataDisks.toBeDetached'] = storageProfile.dataDisks.toBeDetached,
['storageProfile.dataDisks.writeAcceleratorEnabled'] = storageProfile.dataDisks.writeAcceleratorEnabled,
['storageProfile.dataDisks.lun'] = storageProfile.dataDisks.lun,
['storageProfile.dataDisks.managedDisk.id'] = storageProfile.dataDisks.managedDisk.id,
['storageProfile.osDisk.name'] = storageProfile.osDisk.name,
['storageProfile.osDisk.createOption'] = storageProfile.osDisk.createOption,
['storageProfile.osDisk.osType'] = storageProfile.osDisk.osType,
['storageProfile.osDisk.deleteOption'] = storageProfile.osDisk.deleteOption,
['storageProfile.osDisk.managedDisk'] = storageProfile.osDisk.managedDisk,
['storageProfile.osDisk.caching'] = storageProfile.osDisk.caching,
['storageProfile.osDisk.managedDisk.id'] = storageProfile.osDisk.managedDisk.id,
['hardwareProfile.vmSize'] = hardwareProfile.vmSize,
['diagnosticsProfile.bootDiagnostics'] = diagnosticsProfile.bootDiagnostics,
['diagnosticsProfile.bootDiagnostics.enabled'] = diagnosticsProfile.bootDiagnostics.enabled,
['diagnosticsProfile.bootDiagnostics.storageUri'] = diagnosticsProfile.bootDiagnostics.storageUri
| extend
instanceView = extended.instanceView,
powerState = extended.instanceView.powerState
| extend
['powerState.displayStatus'] = powerState.displayStatus
| mv-expand ['zones']
" & ftk_DemoFilter(),
Source = AzureResourceGraph.Query(query, "Tenant", null, null, [resultTruncated = false]),
NullHandling =
if Table.HasColumns(Source, "Results") and Table.RowCount(Source) = 1 then
#table(
{ "id", "name", "provisioningState", "timeCreated", "networkProfile", "osProfile", "storageProfile", "hardwareProfile", "vmId", "diagnosticsProfile", "extended", "licenseType", "osProfile.computerName", "osProfile.requireGuestProvisionSignal", "osProfile.allowExtensionOperations", "osProfile.adminUsername", "osProfile.secrets", "osProfile.linuxConfiguration", "osProfile.windowsConfiguration", "networkInterfaces", "networkInterfaces.properties", "networkInterfaces.id", "networkInterfaces.properties.deleteOption", "storageProfile.imageReference", "storageProfile.dataDisks", "storageProfile.osDisk", "storageProfile.imageReference.publisher", "storageProfile.imageReference.sku", "storageProfile.imageReference.version", "storageProfile.imageReference.exactVersion", "storageProfile.imageReference.offer", "storageProfile.dataDisks.name", "storageProfile.dataDisks.createOption", "storageProfile.dataDisks.deleteOption", "storageProfile.dataDisks.managedDisk", "storageProfile.dataDisks.caching", "storageProfile.dataDisks.toBeDetached", "storageProfile.dataDisks.writeAcceleratorEnabled", "storageProfile.dataDisks.lun", "storageProfile.dataDisks.managedDisk.id", "storageProfile.osDisk.name", "storageProfile.osDisk.createOption", "storageProfile.osDisk.osType", "storageProfile.osDisk.deleteOption", "storageProfile.osDisk.managedDisk", "storageProfile.osDisk.caching", "storageProfile.osDisk.managedDisk.id", "hardwareProfile.vmSize", "diagnosticsProfile.bootDiagnostics", "diagnosticsProfile.bootDiagnostics.enabled", "diagnosticsProfile.bootDiagnostics.storageUri", "instanceView", "powerState", "powerState.displayStatus" },
{}
)
else Source
in
NullHandling
Beta Was this translation helpful? Give feedback.
All reactions