Skip to content

While creating / updaing system Topic No effect of --identity systemassigned or --mi-system-assigned #28064

Description

@mnadeem

Describe the bug

While creating system topic no effect of --identity systemassigned or --mi-system-assigned

Object (principal) ID is not getting created.

Related command

az eventgrid system-topic create --resource-group some-rg --location centralus --name some-topic --topic-type Microsoft.Storage.StorageAccounts --source /subscriptions/id/resourceGroups/some-rg/providers/Microsoft.Storage/storageAccounts/somesa --identity systemassigned

az eventgrid system-topic update --resource-group some-rg --name some-topic --identity systemassigned

az eventgrid system-topic update --resource-group some-rg --name some-topic --mi-system-assigned

Errors

No Errors and at the same time Object (principal) ID is not getting created

Issue script & Debug output

No Errors and at the same time Object (principal) ID is not getting created

Expected behavior

Object (principal) ID should be created

Environment Summary

az --version
azure-cli 2.45.0 *

core 2.45.0 *
telemetry 1.0.8 *

Extensions:
application-insights 0.1.19
containerapp 0.3.37

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional context

N/A

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAuto-ResolveAuto resolve by botEvent Gridaz eventgridService AttentionThis issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions