blackchoey/azure-cli-extensions

Getting ValidationError for the Sku property is null running az apic service update

hellyzh opened this issue · 3 comments

Describe the bug

image

Related command

az apic service update -g hlytest424 --name hlyservice424c --tags '{test:value}' --identity '{type:SystemAssigned}'

Errors

(ValidationError) The Sku property on the given model is null. A valid Sku is required to create or update an API Catalog.
Code: ValidationError
Message: The Sku property on the given model is null. A valid Sku is required to create or update an API Catalog.

Issue script & Debug output

az apic service create -g hlytest424 --name hlyservice424c --tags '{test:value}' --identity '{type:SystemAssigned}'
(ValidationError) The Sku property on the given model is null. A valid Sku is required to create or update an API Catalog.
Code: ValidationError
Message: The Sku property on the given model is null. A valid Sku is required to create or update an API Catalog.

Expected behavior

Pass

Environment Summary

azure cli 2.49
apic_extension-1.0.0b5-py3-none-any

Additional context

No response

@blackchoey , @hellyzh :
I could not re-create this issue:
image

I was able to create both APIC:
image
image

Workaround by using PATCH request.

Verified