---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability"
tags: ["Locations"]
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability

`POST /subscriptions/{subscriptionId}/providers/Microsoft.AVS/locations/{location}/checkTrialAvailability`

Return trial status for subscription by region

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/LocationParameter` — unresolved $ref

## Request body

- Sku — unresolved $ref

## Response `200`

Azure operation completed successfully.

- Trial — Subscription trial availability
  - `status` 'TrialAvailable' | 'TrialUsed' | 'TrialDisabled' — trial status
  - `availableHosts` integer — Number of trial hosts available

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2020-03-20) `dcdc68d7ebbe` — 1 warning
  - deleted the `path` request parameter `location`

[Change history](https://skmtc.dev/azure/apis/vmware-microsoft-avs-avs/changes/subscriptions/:subscriptionId/providers/Microsoft.AVS/locations/:location/checkTrialAvailability/post.md)

---

[API](https://skmtc.dev/azure/apis/vmware-microsoft-avs-avs.md) · [All operations](https://skmtc.dev/azure/apis/vmware-microsoft-avs-avs/llms.txt) · [OpenAPI document](https://skmtc.dev/azure/apis/vmware-microsoft-avs-avs/revisions/09a8333bc022?raw)
