Share via

Unable to Cancel DB Export Operation

Balint Bende 40 Reputation points
2026-02-25T13:28:57.2366667+00:00

We are encountering an error when attempting to cancel a db export operation. The system returns the following message:

(CannotCancelOperation) Cannot cancel management operation '****' in the current state.
Code: CannotCancelOperation
Message: Cannot cancel management operation '****' in the current state.

Operation status:

Name                                  State             Operation
------------------------------------  ----------------  --------------
****  								  CancelInProgress  ExportDatabase

When trying to cancel the specified export operation, the request fails consistently with the error above. The operation currently shows the state CancelInProgress for the action. It appears the cancellation request has been initiated but is not completing, and further cancel attempts are rejected.

The operation has been stuck in this state for more than 6 days.

Azure SQL Database
0 comments No comments
{count} votes

Answer accepted by question author
  1. Pradeep Kommaraju 1,170 Reputation points Microsoft Employee
    2026-02-25T17:14:47.1233333+00:00

    Thanks for reaching out to the Microsoft Q&A forums.

    Your cancellation request has already been accepted and is currently in progress. When an export shows CancelInProgress, additional cancel attempts are rejected because the backend is already terminating the operation.

    If it stays in this state for an extended time, it means the export is stuck during backend cleanup and cannot be resolved from the client side.

    Next steps:

    • Please open a Microsoft Support ticket and include the operation ID so the backend team can force-complete the cancellation.
    • The stuck export will not resume or produce any output.
    • Once the backend clears it, you can safely start a new export.

    This is expected behavior for long‑running management operations that get stuck during cancellation.

    Please don’t forget to accept the answer if this helped.


0 additional answers

Sort by: Most helpful

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.