Skip to content

[Feature]: Invoke-AzOperationalInsightsQuery should have -NoCache switch that adds #26064

Description

Description of the new feature

KQL searches are cached by default. In the log analytics tool in Azure Portal, no-cache is explicitly requested by the browser. When trying to do a polling KQL search, Invoke-AzOperaitonalInsightsQuery can be behind for a while until the cached result expires.

Proposed implementation details (optional)

Add a switch that adds the nocache header to the KQL request.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions