You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When deploying some resources to azure, where Tags are not specified, it will remove all tags created via policy from the resources al ready pressent in that resource.
Following resources have been seen to have the issue:
Microsoft.App/jobs
Microsoft.App/managedEnvironments
Microsoft.AutoManage/configurationProfiles
Microsoft.ResourceGraph/queries
Resources where this works as expected, that is if the tags are not specified in the resource, existing tags are not removed
Microsoft.Network/virtualNetworks
To Reproduce
Create a Microsoft.AutoManage/configurationProfiles, add tags via portal
A work around can be done, by setting tags in the bicep code to a tag, or just an empty object, this will leave the policy created tags in place
Following does not cause the issue
Bicep version
Bicep CLI version 0.32.4 (b326faa)
Describe the bug
When deploying some resources to azure, where Tags are not specified, it will remove all tags created via policy from the resources al ready pressent in that resource.
Following resources have been seen to have the issue:
Microsoft.App/jobs
Microsoft.App/managedEnvironments
Microsoft.AutoManage/configurationProfiles
Microsoft.ResourceGraph/queries
Resources where this works as expected, that is if the tags are not specified in the resource, existing tags are not removed
Microsoft.Network/virtualNetworks
To Reproduce
Create a Microsoft.AutoManage/configurationProfiles, add tags via portal
The following can be used
Additional context
A work around can be done, by setting tags in the bicep code to a tag, or just an empty object, this will leave the policy created tags in place
Following does not cause the issue
The text was updated successfully, but these errors were encountered: