Application Insights resources with query API keys - API keys stop working Mar 31, 2027

AzureDeprecations & retirementsTeam planSeverity: highazure.app-insights

API keys for querying Application Insights data are retired on March 31, 2027 (extended from 2026); query with Microsoft Entra ID instead

What LeftSize checks

Find Application Insights components with API keys that can query data. On March 31, 2027 (extended from 2026) API keys for querying Application Insights data are retired: scripts, dashboards and integrations that read telemetry with an API key stop working. Switch them to Microsoft Entra ID authentication, then delete the keys.

Why it matters

Missed retirement and end-of-support dates turn into forced upgrades, outages or extended support charges at a moment you did not choose.

What you get in the issue

LeftSize runs this check from a scheduled GitHub Action with a read-only identity in your Azure account and opens one issue per scope in GitHub or Jira, updated on every scan. The issue includes:

  • The affected resources, grouped per subscription, resource group or account and region
  • Background on why it was flagged and when it is a false positive
  • Cost and operational impact of fixing it
  • Alternative approaches and their trade-offs
  • Step-by-step remediation with safety checks
  • Ready-to-run fix scripts (CLI, PowerShell or Terraform where available)
  • Snooze, ignore or report a finding with a comment on the issue
Install LeftSizeIncluded in the Team and Business plans.

See the @leftsize commands,how LeftSize works andhow to set it up.

Official references