---
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

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

## Parameters

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

## Response `200`

Azure operation completed successfully.

- ScriptLogsList — Deployment script execution logs.
  - `value` ScriptLog[] — Deployment scripts logs. — unresolved $ref

## Other responses

- `default` — An unexpected error response.

## Changes

- **2025-06-04** (2019-10-01-preview) `6d7ed28b7311` — 2 breaking
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`

[Change history](https://skmtc.dev/azure/apis/resources-microsoft-resources-deploymentscripts/changes/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.Resources/deploymentScripts/:scriptName/logs/get.md)

---

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