Resource Not Found while unregistering MARS server

Yu Zhu 6 Reputation points


I'm trying to unregister a Azure VM server using MARS agent from a Recovery Services Vault. I used MARS management console to delete all backup items but still seeing the server listed under "Backup Infrastructure" -> "Azure Backup Agent". I went on and try to delete it from the portal, but got an error say "VM no longer exists". Due to this error, I couldn't delete the vault. Would anyone help me to resolve this issue, thanks.



Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
885 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Yu Zhu 6 Reputation points


    With the help from @Prrudram-MSFT and Microsoft support, this issue was resolved. An bug was raised with reference ID 305895077.

    The cause of the issue is quoted from Microsoft Support's email here for future reference and hopefully helps others with similar issue.

    Cause Analysis
    We have recently migrated our services to Service fabric from Cloud Service.

    As part of this migration, one bug got introduced in one of our service (RRP service). Due to this bug request URI which is having dot (.) in machine name/ container name, is getting >modified and that dot is getting removed from container name while forwarding request to other service (BMS).

    BMS service is responsible for fetching container and datasource details...due to wrong container name received from RRP, BMS is not able to fetch the data source and things are broken.

    We have enabled traffic back to RDFE/cloud service and stopped service fabric traffic in AE geo.

    1 person found this answer helpful.

  2. Prrudram-MSFT 15,851 Reputation points

    Hello @Yu Zhu ,

    Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.

    Error: Deletion failed

    Error message: Could not perform the operation as VM no longer exists.


    VM no longer exists. Stop protecting virtual machine without deleting backup data. More details refer this article

    Please "Accept as Answer" and Upvote if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.