---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices"
tags: ["SqlMigrationServices"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices

`GET /subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/sqlMigrationServices`

Retrieve all SQL migration services in the subscriptions.

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

- SqlMigrationListResult — A list of SQL Migration Service.
  - `value` SqlMigrationService[], required — The SqlMigrationService 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-service-production.skmtc.workers.dev/v1/apis/azure/azure-database-migration-service-classic-resource-provider/revisions/a034b56d69ce/schema)
