Azure Migrate: Deployment issue — Data source conflict preventing appliance registration

Kyle-6225 0 Reputation points
2026-08-24T14:47:08.5433333+00:00

Problem description

I am unable to register an Azure Migrate appliance to an existing project. During the registration process, the API returns a BadRequest error indicating that a data source already exists for the site. I suspect this is due to a prior discovery run using the Data Collector utility, which created an existing data source record. I attempted to remove the Collector from the migration project but there is not a remove/delete option.

Environment

Azure Migrate assessment project deployed in Azure Resource Manager. The affected resource is an appliance within the same resource group, region not specified.

What I've already tried

I have completed a one-time inventory collection using the Data Collector utility. I confirmed that all required URLs are whitelisted, and I have the necessary Azure permissions (Contributor level). I also verified source prerequisites such as network ports and service account rights. During appliance setup, the registration step fails with the same error. I attempted to retrieve diagnostic logs from the Azure Migrate project, but no data was found.

Current status

The registration process continues to fail with the 'data source already exists' error. I am seeking guidance on how to identify and remove the conflicting data source resource to resolve the registration issue.

Azure Migrate
Azure Migrate

A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.


1 answer

Sort by: Most helpful
  1. Allan Solomon Mejia 6,240 Reputation points
    2026-08-24T16:17:53.97+00:00

    Hello @Kyle-6225

    The behavior you're seeing is consistent with a previous Azure Migrate discovery/appliance registration still being associated with the existing project.

    The important point is that Azure Migrate currently doesn't support deleting an individual registered appliance from a project. Microsoft documents that a project can have multiple appliances, but you can't simply remove an existing registered appliance from the project through the portal.

    You can first confirm whether the previous appliance is still registered:

    Azure Migrate → Servers, databases and web apps → Discovery and assessment → Overview → Appliances

    Microsoft documents this as the location where you can see the appliances registered with the project and their connectivity status.

    If the old appliance/data source appears there, I would not try to manually delete hidden Azure resources or use an unsupported REST/ARM DELETE operation against the data-source resource. That could leave the Azure Migrate project in an inconsistent state.

    Also, because you previously used the Data Collector utility, don't assume that Contributor permissions or rerunning appliance registration will remove the existing discovery metadata. Azure Migrate stores discovery metadata as part of the project.

    There are essentially two supported paths.

    1. Preserve the existing Azure Migrate project

    If you need to retain the existing discovery/assessment data, I recommend opening an Azure support request for Azure Migrate and providing the exact BadRequest response from the appliance registration.

    In particular, include: Project name, Resource group, Subscription, Region, Existing appliance/data source name, New appliance name, HTTP status: 400 BadRequest, Full error code, Full error message, Correlation/Request ID, and Timestamp (UTC).

    If this is an orphaned backend data-source record rather than an active appliance registration, Microsoft support can determine that from the service-side project state.

    2. Existing discovery data isn't required

    If you can discard the previous discovery/assessment data, creating a new Azure Migrate project is the cleaner option. Azure Migrate supports creating additional projects and registering a fresh appliance against the new project.

    If you want to reuse the existing appliance server with the new project, Microsoft says you must reconfigure it using the appropriate Azure Migrate PowerShell installer script, which cleans up the existing appliance components/settings. Then generate a new project key; don't reuse an existing one.

    One caution: I wouldn't delete the current project or its resource group unless you're certain you no longer need the existing discovery data and assessments. Deleting the project removes its discovered-server metadata, and project deletion is irreversible.

    Microsoft references:

    Azure Migrate appliance FAQ

    Create and manage Azure Migrate projects

    If you can post the complete BadRequest error, including the error code and correlation/request ID (with subscription/tenant details redacted), we can determine whether this is an existing registered appliance conflict or an orphaned data-source record that needs Microsoft support intervention.

    Help make this community better for everyone: if this answer resolved your issue, please accept it or leave an upvote. If not, share more details in a comment so we can continue the discussion and find the right solution.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.