az afd endpoint purge
silently ignores non-existent resource group
#30621
Labels
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Network - Front Door
Service Attention
This issue is responsible by Azure service team.
Describe the bug
When calling
az afd endpoint purge
with a non-existent resource group name, there is no indication of the issue. I would expect an error message and/or a non-0 exit code to be returned.Related command
az afd endpoint purge
Errors
No error message returned.
Issue script & Debug output
Script:
Debug output:
Expected behavior
CLI should return a non-zero exit code and output an error message to the console.
Environment Summary
Additional context
No response
The text was updated successfully, but these errors were encountered: