---
title: "GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs"
tags: ["DscCompilationJob"]
---

# GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Retrieve a list of dsc compilation jobs.

## Path parameters

- `resourceGroupName` string, required
- `automationAccountName` string, required
- `subscriptionId` string, required

## Query parameters

- `$filter` string
- `api-version` string, required

## Response `200`

OK

- DscCompilationJobListResult: The response model for the list job operation.
  - `value` DscCompilationJob[]: Gets or sets a list of Dsc Compilation jobs.
    - `id` string: Fully qualified resource Id for the resource
    - `name` string: The name of the resource
    - `type` string: The type of the resource.
    - `properties` DscCompilationJobProperties: Definition of Dsc Compilation job properties.
      - `configuration` DscConfigurationAssociationProperty: The Dsc configuration property associated with the entity.
        - `name` string: Gets or sets the name of the Dsc configuration.
      - `startedBy` string: Gets the compilation job started by.
      - `jobId` string, uuid: Gets the id of the job.
      - `creationTime` string, date-time: Gets the creation time of the job.
      - `provisioningState` 'Failed' | 'Succeeded' | 'Suspended' | 'Processing': The provisioning state of the resource.
      - `runOn` string: Gets or sets the runOn which specifies the group name where the job is to be executed.
      - `status` 'New' | 'Activating' | 'Running' | 'Completed' | 'Failed' | 'Stopped' | 'Blocked' | 'Suspended' | 'Disconnected' | 'Suspending' | 'Stopping' | 'Resuming' | 'Removing': Gets or sets the status of the job.
      - `statusDetails` string: Gets or sets the status details of the job.
      - `startTime` string, date-time, nullable: Gets the start time of the job.
      - `endTime` string, date-time, nullable: Gets the end time of the job.
      - `exception` string: Gets the exception of the job.
      - `lastModifiedTime` string, date-time: Gets the last modified time of the job.
      - `lastStatusModifiedTime` string, date-time, nullable: Gets the last status modified time of the job.
      - `parameters` object: Gets or sets the parameters of the job.
  - `nextLink` string: Gets or sets the next link.

## Other responses

- `default`: Automation error response describing why the operation failed.

## Changes

- **2019-09-16** (2018-01-15) `e303191fb0b6`: 4 breaking
  - added the new path request parameter `automationAccountName`
  - added the new path request parameter `resourceGroupName`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`

[Operation history](https://skmtc.dev/azure/apis/automationmanagement-6/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Automation/automationAccounts/:automationAccountName/compilationjobs/get.md)

---

[API](https://skmtc.dev/azure/apis/automationmanagement-6.md) - [All operations](https://skmtc.dev/azure/apis/automationmanagement-6/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/automationmanagement-6/revisions/e303191fb0b6?raw)
