---
title: "GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs"
method: GET
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs"
tags: ["DeploymentScripts"]
---

# GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs

`GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deploymentScripts/{scriptName}/logs`

Gets deployment script logs for a given deployment script name.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `scriptName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK -- Returns deployment script logs if available.

- ScriptLogsList — Deployment script execution logs.
  - `value` ScriptLog[] — Deployment scripts logs.
    - `id` string — String Id used to locate any resource on Azure.
    - `name` string — Name of this resource.
    - `type` string — Type of this resource.

## Other responses

- `default` — Error response describing why the operation failed.

---

[API](https://skmtc.dev/azure/apis/deploymentscriptsclient.md) · [All operations](https://skmtc.dev/azure/apis/deploymentscriptsclient/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/deploymentscriptsclient/revisions/b65ddd0c91b7/schema)
