Skip to content

{Resources} group create does not surface provisioningState #33832

Description

@aryasadeghi1

Background

az group create / New-AzResourceGroup never report the provisioning state. ARM returns it nested:

{"id":"...","name":"...","location":"...","properties":{"provisioningState":"Succeeded"}}

but the ResourceGroup model (src/Extensions/Resources/Models/Resourcegroup.cs) declares ProvisioningState as a flat property, so deserialization drops it and the emitted object always carries an empty string. Confirmed against a live subscription while recording the group create scenario; the same applies to group show.

Fix

Map the nested properties.provisioningState in the model (nested Properties type or a converter), and extend the scenario test assertion to cover it once it deserializes.

Confirmation

  • group create and New-AzResourceGroup output includes provisioningState: Succeeded.
  • The group create scenario test asserts it on both surfaces.

Metadata

Metadata

Assignees

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupact-quality-productivity-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions