Microsoft.Web/sites/basicPublishingCredentialsPolicies inaccurate Intellisense with VSCode Extension
Bicep version
run bicep --version via the Bicep CLI, az bicep version via the AZ CLI or via VS code by navigating to the extensions tab and searching for Bicep
0.4.1124
Describe the bug Using VSCode Extension, adding Microsoft.Web/sites/basicPublishingCredentialsPolicies. Both "location" and "tags" show that they are not available, but they are. As a matter of fact, without "location' defined, I get errors with the deployment.
To Reproduce Steps to reproduce the behavior: Add a Microsoft.Web/sites/basicPublishingCredentialsPolicies resource to your bicep file using VSCode. Add the "location" and/or "tags" attributes to it and you will get a yellow squiggle.
Additional context Add any other context about the problem here.
Thanks for raising this, and for your patience, it was recently picked up as an open item for the ARM Deployments team to look at.
The location and tags properties being flagged as invalid on Microsoft.Web/sites/basicPublishingCredentialsPolicies is the same schema inaccuracy tracked in #7396 (https://github.com/Azure/bicep/issues/7396), which is the open tracker for this issue.
I'm going to close this one out as a duplicate. Please follow #7396 for updates, and give it a thumbs-up to add weight to the fix.
If your scenario involves a property other than location or ags, or the behavior differs from what is tracked there, feel free to reopen here with the specific detail.