---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/checkNameAvailability"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/checkNameAvailability"
tags: ["Accounts"]
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/checkNameAvailability

`POST /subscriptions/{subscriptionId}/providers/Microsoft.DataLakeAnalytics/locations/{location}/checkNameAvailability`

Checks whether the specified account name is available or taken.

## Path parameters

- `subscriptionId` string, required
- `location` string, required

## Query parameters

- `api-version` string, required

## Request body

- CheckNameAvailabilityParameters — Data Lake Analytics account name availability check parameters.
  - `name` string, required — The Data Lake Analytics name to check availability for.
  - `type` 'Microsoft.DataLakeAnalytics/accounts', required — The resource type. Note: This should not be set by the user, as the constant value is Microsoft.DataLakeAnalytics/accounts

## Response `200`

Successfully retrieved the Data Lake Analytics account name availability information.

- NameAvailabilityInformation — Data Lake Analytics account name availability result information.
  - `nameAvailable` boolean — The Boolean value of true or false to indicate whether the Data Lake Analytics account name is available or not.
  - `reason` string — The reason why the Data Lake Analytics account name is not available, if nameAvailable is false.
  - `message` string — The message describing why the Data Lake Analytics account name is not available, if nameAvailable is false.

## Other responses

- `default` — Default response

---

[API](https://skmtc.net/azure/apis/datalake-analytics-microsoft-datalakeanalytics.md) · [All operations](https://skmtc.net/azure/apis/datalake-analytics-microsoft-datalakeanalytics/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/datalake-analytics-microsoft-datalakeanalytics/versions/a8dccea43c3b/schema)
