Forum Discussion

zivrivkis's avatar
zivrivkis
Brass Contributor
Jan 30, 2026
Solved

Excel authentication token reuse for access to Log Analytics

I have noticed that Excel is not able to reuse the authentication token when accessing Log Analytics workspaces if an expired token was renewed for a single sheet in a workbook.   Scenario: 1 wor...
  • Kidd_Ip's avatar
    Jan 31, 2026

    This behavior is intentional. Excel’s Power Query connectors, including the Log Analytics connector, manage authentication on a per‑connection basis rather than at the workbook level. When an authentication token expires, each query connection initiates its own renewal process, which results in repeated sign‑in prompts across multiple worksheets. The workaround you identified closing and reopening Excel effectively resets all connections so they can share the newly refreshed token. However, within an active workbook session, Excel does not support native reuse of a renewed token across multiple queries.

     

    https://learn.microsoft.com/en-us/power-query/connector-authentication

     

    https://learn.microsoft.com/nb-no/azure/azure-monitor/logs/log-excel

     

     

Resources