Hello David Cuervo,
Thank you for posting your question in the Microsoft Q&A forum.
The error indicates you cannot delete the Azure Service Bus namespace because an active migration replication process is still underway, which places a protective lock on the resource to prevent data loss or corruption during transfer.
To resolve this, you must first navigate to the migration configuration within your Service Bus namespace in the Azure portal and explicitly abort the ongoing migration operation. Once the migration has been successfully terminated, the replication lock will be removed, allowing you to proceed with deleting the migration configuration itself. Only after these intermediary steps are completed will the namespace be released from its operational state, enabling you to perform the final deletion.
This process ensures data integrity is maintained by preventing accidental deletion during critical operations. If the abort action fails or the issue persists, contacting Azure support may be necessary to investigate potential backend state inconsistencies.
Please, let me know the response helps answer your question? If the above answer helped, please do not forget to "Accept Answer" as this may help other community members to refer the info if facing a similar issue. 🙂