Blurpint Assign at management group vai REST API
I am trying to blueprint scope using REST API to prevent removing lock from owners but it always give below error. I juts kept one resource group and trying to put lock from here.
error
"error": {
"code": "InvalidAssignment",
"message": "This assignment is invalid. Error: 'Blueprint resource group placeholder 'RGBackup' does not exist in blueprint '/providers/Microsoft.Management/managementGroups/blueprintMG/providers/Microsoft.Blueprint/blueprints/sampleblueprint/versions/V3'.'"
}
I am trying to put a lock on the recovery service vault level using the below things.
https://learn.microsoft.com/en-us/azure/governance/blueprints/concepts/resource-locking