azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

An error will occur without the optional parameter "-ResourceGroupName" in the Get-AzEffectiveRouteTable syntax.

Open YuKogasaka opened this issue 5 years ago • 6 comments

Description

In the Get-AzEffectiveRouteTable documentation and Get-help content, "-ResourceGroupName" is not required but an optional parameter ([-ResourceGroupName]), but when I run the command that get the error "Get-AzEffectiveRouteTable: 'resourceGroupName' cannot be null.".

I would like you to correct that the parameter "-ResourceGroupName" is required.

Steps to reproduce

Get-AzEffectiveRouteTable -NetworkInterfaceName "<network interface name>"

Environment data

Name                           Value
----                           -----
PSVersion                      7.1.5
PSEdition                      Core
GitCommitId                    7.1.5
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     6.5.0                 Az
Script     4.12.0                Az.Network                          {Add-AzApplicationGatewayAuthenticationCertificat…

Error output

Get-AzEffectiveRouteTable: 'resourceGroupName' cannot be null.

YuKogasaka avatar Oct 21 '21 06:10 YuKogasaka

Thank you for your reporting. Tagging and routing to the team member best able to assist.

dingmeng-xue avatar Oct 21 '21 13:10 dingmeng-xue

@YuKogasaka Thanks for reporting this. we are currently looking into this and get back to you.

SaurabhSharma-MSFT avatar Oct 21 '21 18:10 SaurabhSharma-MSFT

@YuKogasaka I could see the same behavior and routing this to internal team to look into it.

SaurabhSharma-MSFT avatar Oct 25 '21 22:10 SaurabhSharma-MSFT

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @aznetsuppgithub.

Issue Details

Description

In the Get-AzEffectiveRouteTable documentation and Get-help content, "-ResourceGroupName" is not required but an optional parameter ([-ResourceGroupName]), but when I run the command that get the error "Get-AzEffectiveRouteTable: 'resourceGroupName' cannot be null.".

I would like you to correct that the parameter "-ResourceGroupName" is required.

Steps to reproduce

Get-AzEffectiveRouteTable -NetworkInterfaceName "<network interface name>"

Environment data

Name                           Value
----                           -----
PSVersion                      7.1.5
PSEdition                      Core
GitCommitId                    7.1.5
OS                             Microsoft Windows 10.0.19043
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     6.5.0                 Az
Script     4.12.0                Az.Network                          {Add-AzApplicationGatewayAuthenticationCertificat…

Error output

Get-AzEffectiveRouteTable: 'resourceGroupName' cannot be null.
Author: YuKogasaka
Assignees: SaurabhSharma-MSFT
Labels:

Network, Service Attention, question, customer-reported

Milestone: -

ghost avatar Oct 25 '21 22:10 ghost

@aznetsuppgithub Can you please look into this.

SaurabhSharma-MSFT avatar Nov 09 '21 19:11 SaurabhSharma-MSFT

:bell: Routing this issue to @act-quality-productivity-squad.