A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
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:
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.