Describe the bug
This issue is being moved from MicrosoftDocs/azure-docs-cli issue 4766.
Engineering request
Please fix the quoting error seen in this example. The parameter --force should be OUTSIDE the double quotes.

Customer feedback
Type of issue
Code doesn't work
Feedback
Code sample:
az bicep publish --file {bicep_file} --target "br:{registry}/{module_path}:{tag} --force"
--force shall be out side of ""
Page URL
https://learn.microsoft.com/en-us/cli/azure/bicep?view=azure-cli-latest
Content source URL
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/bicep.yml
Document Id
60edc003-8f74-62af-e9fd-79efb5a77d9f
Related command
az bicep publish
Errors
.
Issue script & Debug output
.
Expected behavior
.
Environment Summary
Azure CLI 2.66.0
Additional context
No response
Describe the bug
This issue is being moved from MicrosoftDocs/azure-docs-cli issue 4766.
Engineering request
Please fix the quoting error seen in this example. The parameter

--forceshould be OUTSIDE the double quotes.Customer feedback
Type of issue
Code doesn't work
Feedback
Code sample:
az bicep publish --file {bicep_file} --target "br:{registry}/{module_path}:{tag} --force"--forceshall be out side of ""Page URL
https://learn.microsoft.com/en-us/cli/azure/bicep?view=azure-cli-latest
Content source URL
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/bicep.yml
Document Id
60edc003-8f74-62af-e9fd-79efb5a77d9f
Related command
az bicep publish
Errors
.
Issue script & Debug output
.
Expected behavior
.
Environment Summary
Azure CLI 2.66.0
Additional context
No response