How to delete a Migration Goal when using Azure Migrate

How to delete a Migration Goal when using Azure Migrate

Introduction

This will be a short article containing some bits I found worth sharing when working with the Azure Migrate Service. ⏰

The problem

While facing some database migration tasks at work, I was puzzled because I couldn't delete a Migration Goal from within the Azure Migrate blade where I had created the migration project earlier.

Where is the delete button?

The solution

The solution is as simple as navigating to the resource group where the migration goal got created. Then enable Show hidden types and delete the resource of type microsoft.migrate/migrateprojects.