Share via

Unable to unregister Azure VM App Container (SQL workload).

PN Azure Admin 0 Reputation points
2026-03-17T12:47:29.0533333+00:00

Issue:

Unable to unregister Azure VM App Container (SQL workload).

Error:

CloudInternalError - Microsoft Azure Backup encountered an internal error.

Findings:

  • No backup items exist (validated via Portal & PowerShell)
  • Soft delete retention expired (>14 days)
  • SQL protectable items still visible: sqlinstance;mssqlserver and associated databases
  • These cannot be removed via PowerShell (read-only discovery objects)
  • Unregister operation consistently fails

Conclusion:

This is a stale/orphaned SQL workload registration.

Request:

Please perform backend cleanup to remove orphaned container and SQL workload metadata (ForceDeleteContainerMetadata / cleanup of protectable items).

Azure Backup
Azure Backup

An Azure backup service that provides built-in management at scale.


1 answer

Sort by: Most helpful
  1. Bharath Y P 7,080 Reputation points Microsoft External Staff Moderator
    2026-03-17T13:09:21.2+00:00

    Hello PN Azure Admin, thank you for posting your query on Microsoft Q&A platform.

    We are looking into your issue and will keep you posted updates.

    Also, we have reached out to you in Private Messages for additional step required from your side.

    As per your request, you are unable to unregister the AzureVMAppContainer for the SQL workload on the machine running Windows Server 2019 Datacenter with SQL Server 2017. You encounter an internal error from Microsoft Azure Backup when attempting this operation, even though all backup items have already been deleted. This scenario requires backend cleanup. We have escalated the case to the backend support team to remove the orphaned container and associated SQL workload metadata.

    If your issue is resolved, please click accept the answer and upvote.

    Thanks,


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.