SALES: 1-800-867-1380

Check Cloud Service Name Availability


Updated: June 29, 2015

The Check Hosted Service Name Availability operation checks for the availability of the specified cloud service name.

The Check Hosted Service Name Availability request may be specified as follows. Replace <subscription-id> with your subscription ID and <cloudservice-name> with the cloud service name that you would like to use.


Request URI


You must make sure that the request that is made to the management service is secure. For additional details, see Authenticating Service Management Requests.

The following table describes the request headers.

Request Header



Required. Specifies the version of the operation to use for this request. This header should be set to 2012-03-01 or higher. For more information about versioning headers, see Service Management Versioning.

The response includes an HTTP status code, a set of response headers, and a response body.

A successful operation returns status code 200 (OK). For information about status codes, see Service Management Status and Error Codes.

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

Response Header



A value that uniquely identifies a request made against the management service.

The format of the response body is as follows:

<?xml version="1.0" encoding="utf-8"?>
<AvailabilityResponse xmlns=””>

The following table describes the elements in the response body.

Element name



A boolean value that indicates whether the name is available for you to use. true if the name is available; otherwise false.

For versions before 2013-03-01, the operation returned true for non-taken names even if they were reserved or profane. With version headers of 2013-03-01 and later, the operation returns false for reserved or profane words.


Indicates why the name cannot be used to create the cloud service.

Possible values are:

  • HostedServiceAlreadyExists – returned if the cloud service name already exists.

  • HostedServiceNameNotValid – returned if the cloud service name uses unsupported characters, reserved words, or profane words.

The Reason element is only available using version 2013-03-01 or higher.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2016 Microsoft