Web Apps - List Slot Site Deployment Statuses Slot
List deployment statuses for an app (or deployment slot, if specified).
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deploymentStatus?api-version=2025-03-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
name
|
path | True |
string |
Name of the app. |
|
resource
|
path | True |
string minLength: 1maxLength: 90 pattern: ^[-\w\._\(\)]+[^\.]$ |
Name of the resource group to which the resource belongs. |
|
slot
|
path | True |
string |
Name of the deployment slot. If a slot is not specified, the API will get the deployment status for the production slot. |
|
subscription
|
path | True |
string |
Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
|
api-version
|
query | True |
string |
API Version |
Responses
| Name | Type | Description |
|---|---|---|
| 200 OK |
OK |
|
| Other Status Codes |
App Service error response. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
| Name | Description |
|---|---|
| user_impersonation | impersonate your user account |
Examples
List Deployment Status Slot
Sample request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rg/providers/Microsoft.Web/sites/testSite/slots/stage/deploymentStatus?api-version=2025-03-01
Sample response
{
"value": [],
"nextLink": null
}
Definitions
| Name | Description |
|---|---|
|
Csm |
Deployment status response payload. |
|
Csm |
Deployment status collection ARM resource. |
|
Default |
App Service error response. |
|
Deployment |
Deployment build status. |
| Details | |
| Error |
Error model. |
|
Error |
Body of the error response returned from the API. |
CsmDeploymentStatus
Deployment status response payload.
| Name | Type | Description |
|---|---|---|
| id |
string |
Resource Id. |
| kind |
string |
Kind of resource. |
| name |
string |
Resource Name. |
| properties.deploymentId |
string |
Deployment operation id. |
| properties.errors |
List of errors. |
|
| properties.failedInstancesLogs |
string[] |
List of URLs pointing to logs for instances which failed to provision. |
| properties.numberOfInstancesFailed |
integer (int32) |
Number of site instances failed to provision. |
| properties.numberOfInstancesInProgress |
integer (int32) |
Number of site instances currently being provisioned. |
| properties.numberOfInstancesSuccessful |
integer (int32) |
Number of site instances provisioned successfully. |
| properties.status |
Deployment build status. |
|
| type |
string |
Resource type. |
CsmDeploymentStatusCollection
Deployment status collection ARM resource.
| Name | Type | Description |
|---|---|---|
| nextLink |
string |
Link to next page of resources. |
| value |
Collection of resources. |
DefaultErrorResponse
App Service error response.
| Name | Type | Description |
|---|---|---|
| error |
Error model. |
DeploymentBuildStatus
Deployment build status.
| Value | Description |
|---|---|
| TimedOut | |
| RuntimeFailed | |
| BuildAborted | |
| BuildFailed | |
| BuildRequestReceived | |
| BuildPending | |
| BuildInProgress | |
| BuildSuccessful | |
| PostBuildRestartRequired | |
| StartPolling | |
| StartPollingWithRestart | |
| RuntimeStarting | |
| RuntimeSuccessful |
Details
| Name | Type | Description |
|---|---|---|
| code |
string |
Standardized string to programmatically identify the error. |
| message |
string |
Detailed error description and debugging information. |
| target |
string |
Detailed error description and debugging information. |
Error
Error model.
| Name | Type | Description |
|---|---|---|
| code |
string |
Standardized string to programmatically identify the error. |
| details |
Details[] |
Detailed errors. |
| innererror |
string |
More information to debug error. |
| message |
string |
Detailed error description and debugging information. |
| target |
string |
Detailed error description and debugging information. |
ErrorEntity
Body of the error response returned from the API.
| Name | Type | Description |
|---|---|---|
| code |
string |
Basic error code. |
| details |
Error Details. |
|
| extendedCode |
string |
Type of error. |
| innerErrors |
Inner errors. |
|
| message |
string |
Any details of the error. |
| messageTemplate |
string |
Message template. |
| parameters |
string[] |
Parameters for the template. |
| target |
string |
The error target. |