VS Code Extension API Versions Outdated
Bicep version
ms-azuretools.vscode-bicep: 0.38.33
Describe the bug
The VS Code extension receives regular updates, but the type definitions are still out of date.
Example: Microsoft.App/managedEnvironments - latest is 2025-07-01 but the extension only has up to 2025-02-02-preview.
Another example: Microsoft.Cache/redisEnterprise - latest is 2025-07-01 but the extension only has up to 2025-05-01-preview.
Can the extension pull newer schema from an online URL/resource without having to be updated?
It seems like, if JSON can have a $schema that dynamically loads its schema, Bicep could certainly have a similar mechanism.
Does this exist, or can it be added? And why does the extension get updated without the inclusion of the latest API version specs? The extension was last updated on 2025-10-07, so why weren't types/schemas from 2025-07-01 included?
Why this is important
Customers rely on up-to-date typings and Intellisense to make authoring Bicep easier in VS Code. Without IDE validation, it becomes much more time-consuming to run a what-if or test deployment against Azure in order to verify that the Bicep is correct/valid.
Unfortunately this is up to the resource providers and not something the Bicep team is able to control. Please open support cases with those specific resource providers to update their schema and versions.
Are we due for another type update? The last one was about a month ago: https://github.com/Azure/bicep-types-az/pull/2586
The autogenerate branch (where the last merge PR came from), does have both of the aforementioned API versions:
- https://github.com/Azure/bicep-types-az/tree/autogenerate/generated/app/microsoft.app/2025-07-01
- https://github.com/Azure/bicep-types-az/tree/autogenerate/generated/redisenterprise/microsoft.cache/2025-07-01
but they're not present in main:
- https://github.com/Azure/bicep-types-az/tree/main/generated/app/microsoft.app/2025-07-01
- https://github.com/Azure/bicep-types-az/tree/main/generated/redisenterprise/microsoft.cache/2025-07-01
@JeffreyCA we're due for another Bicep release - watch this space
https://github.com/Azure/bicep/issues/5453 is the issue to upvote for the holistic fix
@csijake @JeffreyCA can you let us know if this has been fixed by our latest update?
I see in my VS Code the most recent versions for both Microsoft.App/ManagedEnvironments and Microsoft.Cache/redisEnterprise - wanted to check if it's also working for you both now.
@csijake @JeffreyCA can you let us know if this has been fixed by our latest update?
I see in my VS Code the most recent versions for both Microsoft.App/ManagedEnvironments and Microsoft.Cache/redisEnterprise - wanted to check if it's also working for you both now.
Thank you! Yes I can confirm the latest update (v0.39.26) has the new API versions now
Yes, I can confirm that this issue is fixed as of extension version 0.39.26.
I still think it would be great if the schema/typings of the resource providers could be decoupled from the release of the extension, and/or an override setting provided (where we could point to a URI online that would take precedence over the bundled ones), but I realize that should be its own issue.
Thanks for the fix!