---
title: "Get service level tasks for a service"
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks"
tags: ["Service resource", "Standard operation", "GET"]
---

# Get service level tasks for a service

`GET /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/serviceTasks`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

The services resource is the top-level resource that represents the Azure Database Migration Service (classic). This method returns a list of service level tasks owned by a service resource. Some tasks may have a status of Unknown, which indicates that an error occurred while querying the status of that task.

## Path parameters

- `groupName` string, required
- `serviceName` string, required

## Query parameters

- `taskType` string

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` (unresolved $ref)
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` (unresolved $ref)

## Response `200`

Azure operation completed successfully.

- TaskList: OData page of tasks
  - `value` ProjectTask[], required: The ProjectTask items on this page (unresolved $ref)
  - `nextLink` string, uri: The link to the next page of items

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/azure-database-migration-service-classic-resource-provider.md) - [All operations](https://skmtc.dev/azure/apis/azure-database-migration-service-classic-resource-provider/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/azure-database-migration-service-classic-resource-provider/revisions/a034b56d69ce?raw)
