This query could not run because some parameters are not set. Please set: Servers

Singh, Padam 0 Reputation points
2025-10-06T18:38:07.1366667+00:00

My subscription is not listed while running azure availability reports.

Also getting below error message.

This query could not run because some parameters are not set. Please set: Servers.

We are able to run the other Virtual Machine queries for the same set of subscriptions via Runbooks

 

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
{count} votes

1 answer

Sort by: Most helpful
  1. Suchitra Suregaunkar 1,885 Reputation points Microsoft External Staff Moderator
    2025-10-14T16:42:33.3933333+00:00

    Hello Singh, Padam,

    As you are having an issue with running Azure availability reports, particularly with the error message about the "Servers" parameter not being set.

    Here are a few things you can check:

    Subscription Visibility: Ensure that your subscription is visible in the Azure portal. Sometimes, subscriptions can be filtered out due to permissions or settings.

    Parameter Selection: When running the availability report, double-check that you have selected the "Servers" parameter in your query. It looks like this is a necessary setting for the report to execute properly.

    Availability of VMs: Make sure that the VMs you are trying to report on are properly reporting into a Log Analytics workspace. Without that, the availability report might not return any data.

    Permissions: Verify that you have the necessary permissions (Reader role or higher) on the subscription you are trying to query.

    Azure AD Tenant: Confirm that you are operating in the correct Azure Active Directory tenant where your subscription exists.

    If you haven’t already, it might help to check the Azure Resource Graph queries and ensure everything aligns with your setup.

    Thanks,

    Suchitra.

    0 comments No comments

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.