Azure Back Up Failure on Subscription Level Delete Lock RRS feed

  • Question

  • Dear Team,

    Problem: We've set up Azure back up of VM using Recovery Service Vault service and 30days retention policy is applied.

    But We've applied 'Delete Lock' on Subscription level

    So when it reaches maximum restore points and it fails with below error


    The Restore Point collection max limit has reached.

    Recommended action(s)
    Please ensure that there are no resouce locks which prevents Restore points cleanup. Refer the troubleshooting guide at 


    Now I wanted to develop a powershell script through which I can get whether restore point collection has been reached to maximum or not? Is there any method through which I can extract that information?

    If I get that information, I will disable the lock and Azure do it's job, once back up successful, I will enable it. But for that I need to know restore point collection has been reached to maximum or not

    Any help is appreciated.

    Thursday, June 27, 2019 8:54 AM