Workbook opened via direct Azure Workbooks resource link shows "Query failed: could not connect to server" for a second user, but works when opened from the Application Insights resource

Gopi 0 Reputation points Microsoft External Staff
2026-07-17T22:20:47.2466667+00:00

We have an Azure Monitor Workbook charting from an Application Insights component. It works fully for the author. A second user needs to open it directly via the Azure Workbooks resource link and have all query tiles load.

Symptom: The second user can see the workbook (layout, titles, parameters all render), but every query tile fails with "Query failed: could not connect to server." This happens only when opening the standalone Azure Workbooks / Azure Monitor resource link. When the same workbook is opened from within the Application Insights resource → Workbooks, all queries run fine for the same user. And the same workbook works from everywhere for remaining users.

Correct directory selected, subscription visible in the portal subscription filter, and closing/reopening the tab does not help.

Azure Analysis Services

1 answer

Sort by: Most helpful
  1. Christos Panagiotidis 3,301 Reputation points
    2026-07-18T05:55:40.56+00:00

    The standalone link may not supply the Application Insights context that the resource blade supplies. Seeing the layout only proves the user can read the workbook; each query needs data-source permission and a resource scope.

    Grant read access to the workbook and referenced Application Insights component. If it is workspace-based, verify the Log Analytics access mode and grant the required query/read role at the resource or workspace scope.

    Edit the workbook and inspect failing queries. If the resource is “current resource” or inherited, create a Resource parameter defaulting to the Application Insights resource ID, then bind every query. Save and retest the standalone link in a portal session.

    If only this user still fails, open the failed tile’s details and capture its correlation ID. This distinguishes missing context from an RBAC denial. Since the user succeeds from the Application Insights blade, explicit resource binding is the first difference to test.

    Was this answer helpful?


Your answer

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