Skip to content

Command-not-found handler shows up at the wrong time #19228

@isra-fel

Description

@isra-fel

Description

MicrosoftTeams-image (6)

In the above screenshot, ARM returned an error that the resource group cannot be found, but somehow the logic of Discoverability was triggered. A meaningless and incorrect warning message was displayed.

Expected behavior

The warning message does not show up.

Issue script & Debug output

Get-AzImageBuilderTemplate -ResourceGroupName NotExist

Environment data

N/A

Module versions

N/A

Error output

No response

Metadata

Metadata

Assignees

Labels

Azure PS TeamTrackingWe will track status and follow internallybugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions