Get-AzPrivateEndpointConnection shows friendly message if rp and resource is not supported #17091
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Network - Private Link
Milestone
Description
From #16984
Azure PowerShell provides error message
Object reference not set to an instance of an object
when rp or resource is not supported. Cmdlet should show better message to end user.Besides
Get-AzPrivateEndpointConnection
, other cmdlets relying on configuration list should show better message as well.Issue script & Debug output
Environment data
Module versions
Error output
No response
The text was updated successfully, but these errors were encountered: