canonical: https://jentic.com/apis/azure.com/advisor-management-client

# Microsoft Azure Azure Advisor Management Client

Jentic publishes the only available OpenAPI specification for Azure Advisor Management Client, keeping it validated and agent-ready. Azure Advisor analyses subscription telemetry and returns personalised recommendations across cost, performance, reliability, and security. This API exposes operations to list and act on those recommendations, suppress noise on specific resources, manage subscription-level Advisor configurations, and trigger fresh recommendation generation on demand.

## For AI agents

List Azure Advisor cost, performance, reliability, and security recommendations, suppress them per resource, and trigger fresh generation.

## Scope

Does not directly remediate resources, change SKUs, or apply security fixes - use only to read, suppress, and refresh Advisor recommendations on Azure subscriptions.

## Capabilities

- List Advisor recommendations filtered by category and resource scope
- Trigger on-demand recommendation generation for a subscription
- Suppress an Advisor recommendation on a specific resource for a fixed window
- Retrieve Advisor metadata such as supported recommendation types
- Read and update subscription-level Advisor configuration
- Check the status of a queued recommendation generation request

## Use cases

### Automated Cost Optimisation Reviews

FinOps teams pull Advisor cost recommendations weekly to identify underutilised VMs, idle databases, and reserved instance opportunities. GET /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/recommendations returns categorised recommendations with impact and savings estimates so the agent can rank them and feed the top items into a Jira backlog.

Example prompt: List Advisor cost recommendations for subscription 1111-2222-3333-4444, sort by impact, and emit the top 10 with resource id and estimated savings

### Recommendation Noise Suppression

Operators suppress Advisor recommendations that do not apply to a specific resource (for example, a VM intentionally over-provisioned for burst). The Suppressions endpoints allow a per-resource, time-bounded suppression so the recommendation stops appearing in dashboards without disabling Advisor globally.

Example prompt: Create a 30-day suppression for recommendation rec-xyz on resource /subscriptions/1111/resourceGroups/prod/providers/Microsoft.Compute/virtualMachines/vm-prod-01

### On-Demand Refresh Before a Review

Advisor refreshes recommendations on its own schedule, but teams running a quarterly architecture review want fresh data immediately. POST /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations queues a fresh run, and the matching GET endpoint returns its status so the workflow waits for completion before downloading.

Example prompt: Trigger Advisor recommendation generation, poll the status endpoint until it reports succeeded, then list the resulting recommendations

### Agent-Driven Optimisation Loops

An AI agent running monthly optimisation can pull Advisor recommendations, file tickets for high-impact ones, and suppress the rest with reasons through Jentic. Intent search returns the recommendation list, suppression, and generation endpoints with their schemas; the Azure OAuth token is held in the credential vault so the agent never sees the service principal secret.

Example prompt: Search Jentic for 'list Azure Advisor recommendations', execute against the production subscription, and create issues for every high-impact security recommendation

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/recommendations | List Advisor recommendations |
| POST | /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations | Generate Advisor recommendations |
| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations/{operationId} | Get generation status |
| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/suppressions | List suppressions |
| GET | /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/configurations | Read Advisor configurations |
| GET | /providers/Microsoft.Advisor/metadata | List Advisor metadata |

## Key resources

- **Recommendations** — List, generate, and read detail on Advisor recommendations across categories
- **Suppressions** — Hide a recommendation on a specific resource for a fixed window
- **Configurations** — Subscription-level Advisor settings
- **Metadata** — Supported recommendation categories and impact levels
- **Operations** — List of operations exposed by Microsoft.Advisor

## Why Jentic

- **Setup:** Wiring this Advisor client by hand means registering an Azure AD app, acquiring and refreshing OAuth 2.0 bearer tokens for management.azure.com, and handling Azure Resource Manager throttling and pagination across recommendations. Through Jentic you install once, import the Azure Advisor Management Client from the API Directory, store the Azure credential once, and your agent calls it.
- **Permission scoping:** This client puts the subscription id in the URL path (/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/...), so a rule can pin your agent to one subscription for reading recommendations. You choose the operations it may call, so ones that change state like creating a suppression or triggering a fresh generation run are not included unless you add them.
- **Credential handling:** Your Azure Active Directory credential is stored once, encrypted, by your own Jentic One instance, which mints short-lived scoped bearer tokens at execution time. The service principal secret never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'list Azure Advisor recommendations' or 'suppress an Advisor recommendation', and Jentic returns the matching Advisor operation with its input schema so the agent skips learning the Microsoft.Advisor path layout.

## Related APIs

- **Azure Monitor Management Client** — Provides the metrics and logs that Advisor analyses to produce recommendations.
- **Azure Policy Client** — Encodes and enforces the same hardening guidance Advisor surfaces as recommendations.
- **Azure Resource Management Client** — Lists the resources Advisor reasons over and applies remediation actions to.
- **Google Cloud Recommender API** — Equivalent recommendation surface for GCP cost, performance, and reliability.

## FAQ

### Why is there no official OpenAPI spec for Azure Advisor Management Client?

Microsoft Azure does not publish an OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Azure Advisor Management Client via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.

### What authentication does the Azure Advisor API use?

The API uses Azure Active Directory OAuth 2.0 bearer tokens (the azure_auth scheme) on management.azure.com. Through Jentic, the AAD app secret is stored in your Jentic One instance and exchanged for a short-lived bearer token per call.

### Can I trigger a fresh Advisor scan from the API?

Yes. Call POST /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations to queue a fresh run, then poll GET /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations/{operationId} until status is 'succeeded' before listing recommendations.

### How do I hide an Advisor recommendation that does not apply to a resource?

Create a suppression against the resource via the Suppressions endpoints with a TTL. The recommendation stops appearing in /recommendations responses for the duration without disabling Advisor for the rest of the subscription.

### What are the rate limits for the Azure Advisor API?

Azure Resource Manager applies subscription-level throttling. Recommendation list calls are typically polled per minute or less; if you receive HTTP 429, back off using the Retry-After header. The generateRecommendations endpoint is rate-limited more strictly because it triggers a backend run.

### How do I file Jira tickets for top Advisor recommendations through Jentic?

Run pip install jentic, then search Jentic with 'list Azure Advisor recommendations'. Load the recommendations endpoint, execute against your subscription, and pipe the result into a Jentic search for 'create a Jira issue'. Both calls are credentialed via the vault, so the agent never holds raw secrets.

### Can I limit what my agent is allowed to do with the Microsoft Azure Advisor Management Client API?

Yes. Jentic One runs self-hosted, so your own rules decide which Advisor operations and credentials the agent may use. Because the subscription id sits in the URL path (/subscriptions/{subscriptionId}/providers/Microsoft.Advisor/...), you can pin the agent to a single subscription and grant only read operations like listing recommendations. State-changing calls such as creating a suppression or triggering a fresh generation run stay off limits unless you explicitly add them.
