Blurpint Assign at management group vai REST API

Mukesh Bhakar 36 Reputation points
2021-07-16T17:02:35.003+00:00

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

Azure Blueprints
Azure Blueprints
An Azure service that provides templates for quick, repeatable creation of fully governed cloud subscriptions.
72 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.