Skip to content

Property 'PeeredRemoteAddressSpace' not filled in Az.Network current released versions #27585

Open
@miaoyinchan

Description

@miaoyinchan

Description

The property 'PeeredRemoteAddressSpace' is not filled when running the command Get-AzVirtualNetworkPeering -VirtualNetworkName $VirtualNetworkName -ResourceGroupName $ResourceGroupName.
This issue happens in Az.Network version 7.16.0, 7.15.1, 7.15.0, and 7.13.0. The issue didn't happen in Az.Network version 7.10.0 and 7.14.0. The versions not mentioned here weren't tested.

Issue script & Debug output

$virtualNetworkPeeringAll = Get-AzVirtualNetworkPeering -VirtualNetworkName $VirtualNetworkName -ResourceGroupName $ResourceGroupName

$virtualNetworkPeeringAll | format-List

Environment data

$PSVersionTable

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

Module versions

Get-Module Az*

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     4.1.0                 Az.Accounts                         {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…}
Script     7.16.0                Az.Network                          {Add-AzApplicationGatewayAuthenticationCertificate, Add-AzApplicationGatewayBackendAddressPool, Add-AzApplicationGatewayBackendHttpSetting, Add-Az

Error output

...
EnableOnlyIPv6Peering                : 
RemoteSubnetNames                    : {}
LocalSubnetNames                     : {}
RemoteGateways                       : 
PeeredRemoteAddressSpace             : 
RemoteVirtualNetworkAddressSpace     : Microsoft.Azure.Commands.Network.Models.PSAddressSpace
....

Metadata

Metadata

Assignees

No one assigned

    Labels

    Network - Virtual NetworkService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions