Delete Azure Backup Restore Points collections error : InternalOperationError goal seeking tasks failed

Hi,

During an operation to move Azure resources between Subscriptions (Or resource groups), we were obliged to delete the “Microsoft.Compute/restorePointCollections” in order to be able to move VMs protected by a Backup policy, as described here

Unfortunately, when deleting the
“Microsoft.Compute/restorePointCollections” resources, we were hit by the following error.

 {X} goal seeking tasks failed. 

It took us time to figure out that trying to delete the same resources multiple times ends by a successful operations. But because each operation took about 1 minute, it will be a waste of time of doing it by hand.

So today, i’m sharing with you a Powershell script that will allow you to make all the deletion operations, in parallel!!

Go here

2 thoughts on “Delete Azure Backup Restore Points collections error : InternalOperationError goal seeking tasks failed

  1. Hi Samir,
    The link to your script does not appear to allow me access. I ran into this same issue when trying to delete the ResorePointCollections using a foreach loop in Az PowerShell module commands. If you can share, I would appreciate it!

    Thank you

    • Nevermind, I found it. Github decided to block my older version of Edge browser on my company provided Windows 10 machine. I’m able to access it on another browser and newer Edge.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s