An error will occur without the optional parameter "-ResourceGroupName" in the Get-AzEffectiveRouteTable syntax.
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.
Thank you for your reporting. Tagging and routing to the team member best able to assist.
@YuKogasaka Thanks for reporting this. we are currently looking into this and get back to you.
@YuKogasaka I could see the same behavior and routing this to internal team to look into it.
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: |
|
| Milestone: | - |
@aznetsuppgithub Can you please look into this.
:bell: Routing this issue to @act-quality-productivity-squad.