Issue with latest version of Azure Managed Grafana 11.6.3

Javier Huamani 60 Reputation points
2025-07-23T15:06:42.0766667+00:00

We recently have upgraded all our Azure Managed Workspaces to version 11. A couple days ago we saw the update to version 11.6.3. However, now any time we attempt to create a Kusto Query variable in any Dashboard, we get the following error message. We cannot continue to develop new Dashboards with this existing issue:

User's image

The full error message is the following:

An unexpected error happened

TypeError: Cannot read properties of undefined (reading 'map') at https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/plugins/grafana-azure-data-explorer-datasource/module.js?_cache=6.1.0:6:66780 at div at div at div at https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:12:169697 at div at sa (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/plugins/grafana-azure-data-explorer-datasource/module.js?_cache=6.1.0:6:65744) at div at https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/7836.a82c814cd762dc40d7b8.js:1:155966 at Zn (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/plugins/grafana-azure-data-explorer-datasource/module.js?_cache=6.1.0:6:62727) at ia (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/plugins/grafana-azure-data-explorer-datasource/module.js?_cache=6.1.0:6:65684) at div at https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/7836.a82c814cd762dc40d7b8.js:1:155966 at Zn (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/plugins/grafana-azure-data-explorer-datasource/module.js?_cache=6.1.0:6:62727) at div at aa (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/plugins/grafana-azure-data-explorer-datasource/module.js?_cache=6.1.0:6:65422) at _a (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/plugins/grafana-azure-data-explorer-datasource/module.js?_cache=6.1.0:6:82152) at div at https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/7836.a82c814cd762dc40d7b8.js:1:155966 at Zn (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/plugins/grafana-azure-data-explorer-datasource/module.js?_cache=6.1.0:6:62727) at ea (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/plugins/grafana-azure-data-explorer-datasource/module.js?_cache=6.1.0:6:62898) at fo (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/plugins/grafana-azure-data-explorer-datasource/module.js?_cache=6.1.0:6:91832) at Eo (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/plugins/grafana-azure-data-explorer-datasource/module.js?_cache=6.1.0:6:94942) at Ao (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/plugins/grafana-azure-data-explorer-datasource/module.js?_cache=6.1.0:6:97629) at div at https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/7836.a82c814cd762dc40d7b8.js:1:153490 at div at https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/7836.a82c814cd762dc40d7b8.js:1:153490 at v (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:204:4428) at M (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:204:6635) at N (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:206:1670) at form at Ti (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:201:39788) at div at div at n (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:159:97537) at div at I (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:159:148319) at _n (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:201:55350) at En (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:201:54487) at re (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/1904.5c277fe3f3557ff7d559.js:15:101361) at kt (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:175:72188) at re (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/1904.5c277fe3f3557ff7d559.js:15:101361) at fv (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/1904.5c277fe3f3557ff7d559.js:17:214940) at Cn (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/210.9512766b67758f42f27c.js:1:2758) at Go (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/210.9512766b67758f42f27c.js:3:87257) at Suspense at y (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:12:152993) at X (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:159:7043) at se (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:159:7706) at x (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/1904.5c277fe3f3557ff7d559.js:243:4573) at Mn (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/1904.5c277fe3f3557ff7d559.js:243:12202) at div at https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/7836.a82c814cd762dc40d7b8.js:1:155966 at main at div at div at div at qa (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:159:37884) at lo (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:159:43061) at co (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:159:44230) at c (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:294:198592) at x (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/1904.5c277fe3f3557ff7d559.js:243:4573) at Mn (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/1904.5c277fe3f3557ff7d559.js:243:12202) at Sn (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/1904.5c277fe3f3557ff7d559.js:243:11535) at dt (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/1904.5c277fe3f3557ff7d559.js:234:18353) at h (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:5:196235) at qt (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/1904.5c277fe3f3557ff7d559.js:243:41264) at Wr (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:159:44498) at div at v (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:299:77693) at m (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/1904.5c277fe3f3557ff7d559.js:147:9131) at p (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/1904.5c277fe3f3557ff7d559.js:377:139748) at C (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/4499.13b7a1ee697383555053.js:176:36387) at c (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/7836.a82c814cd762dc40d7b8.js:24:12175) at y (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:12:152993) at s (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:12:153539) at Ge (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/4499.13b7a1ee697383555053.js:180:515) at uo (https://gfn-snapshot-prod-wus2-dzg8fveed2g4gfg8.wus2.grafana.azure.com/public/build/5718.f3b75ac20868771b6793.js:159:46531)

Azure Managed Grafana
Azure Managed Grafana
An Azure service used to deploy Grafana dashboards for analytics and monitoring solutions.
{count} votes

Accepted answer
  1. Vinod Pittala 6,140 Reputation points Microsoft External Staff Moderator
    2025-07-23T15:44:10.6166667+00:00

    Hello Javier Huamani,

    You're encountering a known compatibility issue between Grafana v11.x and the Azure Data Explorer (ADX) plugin—specifically when defining Kusto Query variables on dashboards.

    Since upgrading to Grafana v11 (and now 11.6.3), attempts to create a variable via KQL result in this error:

    TypeError: Cannot read properties of undefined (reading 'map')

    This stems from either:

    • Undefined or malformed query results being passed into the variable control widget, or
    • A mismatch between the ADX plugin version and Grafana v11.x APIs

    1.So, validate the KQL query

    Please run your same query directly in the ADX Web UI and confirm it returns a well-formed table. If the result set is ever empty or missing columns, the plugin may break. Add a fallback like | take 1 or include essential columns explicitly.

    2. Upgrade to the latest ADX plugin (v6.x+)

    • Azure Data Explorer Datasource plugin v6.0.1 (May 2025) includes bug fixes and Grafana v11 compatibility improvements Microsoft LearnGitHub.
    • In Azure Managed Grafana, ensure your workspace is using the newest plugin and reinstall it if needed.

    3. Reinstall the plugin

    • Even if you're on the latest version, reinstalling can clear corruption or caching artifacts—per recommendations

    4. Disable dashboard-level transformations

    • If transformations are applied to query results before variable processing, temporarily disable them to isolate the issue

    5. Inspect browser developer console

    • More detailed errors often appear here if the plugin tries accessing undefined properties

    And Ensure Grafana v11.6.3 is paired with ADX plugin v6 +or newer.

    1. Reinstall the ADX plugin:
      • In Azure portal, go to Managed Grafana workspace → Plugins → Azure Data Explorer → Uninstall and then reinstall.
    2. Reboot your workspace if necessary (to refresh plugin metadata).
    3. Try creating the variable again using a validated query (e.g. including | take 1).

    Overall, the best fix is: upgrade to ADX plugin v6.+, reinstall, and validate your query.

    If that doesn’t work, consider a panel-based variable or downgrade Grafana temporarily while awaiting plugin maintenance.

    If the comment helpful, please click Upvote it.

    Thanks

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.