Preconditions
Related command
az sig create
-gallery-name
--resource-group
[--identities]
az sig identity assign
[--identities]
[--gallery-name]
[--ids]
[--resource-group]
[--subscription]
az sig show
[--gallery-name]
[--ids]
[--resource-group]
[--subscription]
az sig identity show
[--gallery-name]
[--ids]
[--resource-group]
[--subscription]
az sig identity remove
[--identities]
[--gallery-name]
[--ids]
[--resource-group]
[--subscription]
Resource Provider
Microsoft.Compute/Gallery
Description of Feature or Work Requested
Azure gallery API has been updated to accept user assigned or system assigned managed identity in the request body and response body.
example
PUT /subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName
{
"subscriptionId": "{subscription-id}",
"resourceGroupName": "myResourceGroup",
"api-version": "2025-03-03",
"galleryName": "myGalleryName",
"gallery": {
"location": "West US",
"identity": {
"type": "SystemAssigned, UserAssigned",
"userAssignedIdentities": {
"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity": {}
}
},
"properties": {
"description": "This is the gallery description."
}
}
}
NOTE: the field "identity" is newly introduced, it is optional.
Commands that need update
az sig create
az sig show
New Commands
az sig identity assign
az sig identity show
az sig identity remove
Please follow the conventions established with az vm identity for the parameter [--identities]
Minimum API Version Required
2025-03-03
Swagger PR link / SDK link
Azure/azure-rest-api-specs#30885
Azure/azure-rest-api-specs#32748
Request Example
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/compute/resource-manager/Microsoft.Compute/Compute/ComputeGallery/examples/2025-03-03/galleryExamples/Gallery_Create_WithManagedIdentity.json
Target Date
2026-04-15
PM Contact
@tanmaygore
Engineer Contact
@D1v38om83r
Additional context
Preconditions
Related command
az sig create-gallery-name
--resource-group
[--identities]
az sig identity assign[--identities]
[--gallery-name]
[--ids]
[--resource-group]
[--subscription]
az sig show[--gallery-name]
[--ids]
[--resource-group]
[--subscription]
az sig identity show[--gallery-name]
[--ids]
[--resource-group]
[--subscription]
az sig identity remove[--identities]
[--gallery-name]
[--ids]
[--resource-group]
[--subscription]
Resource Provider
Microsoft.Compute/Gallery
Description of Feature or Work Requested
Azure gallery API has been updated to accept user assigned or system assigned managed identity in the request body and response body.
example
NOTE: the field "identity" is newly introduced, it is optional.
Commands that need update
az sig createaz sig showNew Commands
az sig identity assignaz sig identity showaz sig identity removePlease follow the conventions established with az vm identity for the parameter [--identities]
Minimum API Version Required
2025-03-03
Swagger PR link / SDK link
Azure/azure-rest-api-specs#30885
Azure/azure-rest-api-specs#32748
Request Example
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/compute/resource-manager/Microsoft.Compute/Compute/ComputeGallery/examples/2025-03-03/galleryExamples/Gallery_Create_WithManagedIdentity.json
Target Date
2026-04-15
PM Contact
@tanmaygore
Engineer Contact
@D1v38om83r
Additional context