---
title: "Gets the list of migration items in the vault."
method: GET
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationMigrationItems"
tags: ["ReplicationMigrationItems"]
---

# Gets the list of migration items in the vault.

`GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationMigrationItems`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationMigrationItems`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Gets the list of migration items in the vault.

## Path parameters

- `subscriptionId` string, uuid, required
- `resourceGroupName` string, required
- `resourceName` string, required

## Query parameters

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

## Response `200`

The request has succeeded.

- MigrationItemCollection: Migration item collection.
  - `value` MigrationItem[], required: The MigrationItem items on this page
    - `id` string, arm-id: Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
    - `name` string: The name of the resource
    - `type` string: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    - `systemData` SystemData: Metadata pertaining to creation and last modification of the resource.
      - `createdBy` string: The identity that created the resource.
      - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that created the resource.
      - `createdAt` string, date-time: The timestamp of resource creation (UTC).
      - `lastModifiedBy` string: The identity that last modified the resource.
      - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that last modified the resource.
      - `lastModifiedAt` string, date-time: The timestamp of resource last modification (UTC)
    - `properties` MigrationItemProperties: Migration item properties.
      - `machineName` string: The on-premise virtual machine name.
      - `policyId` string: The ARM Id of policy governing this item.
      - `policyFriendlyName` string: The name of policy governing this item.
      - `recoveryServicesProviderId` string: The recovery services provider ARM Id.
      - `replicationStatus` string: The replication status.
      - `migrationState` 'None' | 'EnableMigrationInProgress' | 'EnableMigrationFailed' | 'DisableMigrationInProgress' | 'DisableMigrationFailed' | 'InitialSeedingInProgress' | 'InitialSeedingFailed' | 'Replicating' | 'MigrationInProgress' | 'MigrationSucceeded' | 'MigrationFailed' | 'ResumeInProgress' | 'ResumeInitiated' | 'SuspendingProtection' | 'ProtectionSuspended' | 'MigrationCompletedWithInformation' | 'MigrationPartiallySucceeded': The migration status.
      - `migrationStateDescription` string: The migration state description.
      - `lastTestMigrationTime` string, date-time: The last test migration time.
      - `lastTestMigrationStatus` string: The status of the last test migration.
      - `lastMigrationTime` string, date-time: The last migration time.
      - `lastMigrationStatus` string: The status of the last migration.
      - `testMigrateState` 'None' | 'TestMigrationInProgress' | 'TestMigrationSucceeded' | 'TestMigrationFailed' | 'TestMigrationCleanupInProgress' | 'TestMigrationCompletedWithInformation' | 'TestMigrationPartiallySucceeded': The test migrate state.
      - `testMigrateStateDescription` string: The test migrate state description.
      - `health` 'None' | 'Normal' | 'Warning' | 'Critical': The health.
      - `healthErrors` HealthError[]: The list of health errors.
        - `innerHealthErrors` InnerHealthError[]: The inner health errors. HealthError having a list of HealthError as child errors is problematic. InnerHealthError is used because this will prevent an infinite loop of structures when Hydra tries to auto-generate the contract. We are exposing the related health errors as inner health errors and all API consumers can utilize this in the same fashion as Exception -&gt; InnerException.
          - `errorSource` string: Source of error.
          - `errorType` string: Type of error.
          - `errorLevel` string: Level of error.
          - `errorCategory` string: Category of error.
          - `errorCode` string: Error code.
          - `summaryMessage` string: Summary message of the entity.
          - `errorMessage` string: Error message.
          - `possibleCauses` string: Possible causes of error.
          - `recommendedAction` string: Recommended action to resolve error.
          - `creationTimeUtc` string, date-time: Error creation time (UTC).
          - `recoveryProviderErrorMessage` string: DRA error message.
          - `entityId` string: ID of the entity.
          - `errorId` string: The health error unique id.
          - `customerResolvability` 'Allowed' | 'NotAllowed': Value indicating whether the health error is customer resolvable.
        - `errorSource` string: Source of error.
        - `errorType` string: Type of error.
        - `errorLevel` string: Level of error.
        - `errorCategory` string: Category of error.
        - `errorCode` string: Error code.
        - `summaryMessage` string: Summary message of the entity.
        - `errorMessage` string: Error message.
        - `possibleCauses` string: Possible causes of error.
        - `recommendedAction` string: Recommended action to resolve error.
        - `creationTimeUtc` string, date-time: Error creation time (UTC).
        - `recoveryProviderErrorMessage` string: DRA error message.
        - `entityId` string: ID of the entity.
        - `errorId` string: The health error unique id.
        - `customerResolvability` 'Allowed' | 'NotAllowed': Value indicating whether the health error is customer resolvable.
      - `allowedOperations` MigrationItemOperation[]: The allowed operations on the migration item based on the current migration state of the item.
      - `currentJob` CurrentJobDetails: Current job details of the migration item.
        - `jobName` string: The job name.
        - `jobId` string: The ARM Id of the job being executed.
        - `startTime` string, date-time: The start time of the job.
      - `criticalJobHistory` CriticalJobHistoryDetails[]: The critical past job details.
        - `jobName` string: The job name.
        - `jobId` string: The ARM Id of the job being executed.
        - `startTime` string, date-time: The start time of the job.
        - `jobStatus` string: The job state.
      - `eventCorrelationId` string: The correlation Id for events associated with this migration item.
      - `providerSpecificDetails` MigrationProviderSpecificSettings: Migration provider specific settings.
        - `instanceType` string, required: Gets the instance type.
    - `location` string: Resource Location
  - `nextLink` string, uri: The link to the next page of items

## Changes

- **2026-07-13** (2016-08-10) `8fd955340807`: 3 breaking
  - added the new path request parameter `resourceGroupName`
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
- **2026-07-13** (2016-08-10) `29658accea08`: 3 warning
  - deleted the `path` request parameter `resourceGroupName`
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`
- **2026-07-13** (2016-08-10) `b4b3c6709d9b`: 1 info
  - endpoint added
- **2026-07-13** (2016-08-10) `8dedb017b138`: 1 breaking
  - api path removed without deprecation
- **2026-07-13** (2016-08-10) `338c6c90a051`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/recoveryservicessiterecovery-microsoft-recoveryservices-site/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.RecoveryServices/vaults/:resourceName/replicationMigrationItems/get.md)

---

[API](https://skmtc.dev/azure/apis/recoveryservicessiterecovery-microsoft-recoveryservices-site.md) - [All operations](https://skmtc.dev/azure/apis/recoveryservicessiterecovery-microsoft-recoveryservices-site/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/recoveryservicessiterecovery-microsoft-recoveryservices-site/revisions/8fd955340807?raw)
