question

MukeshBhakar-8406 avatar image
0 Votes"
MukeshBhakar-8406 asked SadiqhAhmed-MSFT commented

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://docs.microsoft.com/en-us/azure/governance/blueprints/concepts/resource-locking

azure-blueprints
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MukeshBhakar-8406 Thank you for your post and I apologize for the delayed response!

Can you share the code that reproduce the error? As well as how you are making the REST API call.

0 Votes 0 ·

0 Answers