Azure / Azure/azure-powershell
Couldn't get Virtual network name from Azure Load Balancer's Backend Pools configuration in PowerShell.
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Description
```powershell
Version Name Repository Description
------- ---- ---------- -----------
13.1.0 Az PSGallery Microsoft Azure PowerShell - Cmdlets
```
Couldn't get **VirtualNetwork** and **OutboundRule** values from Azure Load Balancer's Backend Pools configuration in PowerShell. For example,
```powershell
$backendPools = Get-AzLoadBalancerBackendAddressPool -ResourceGroupName $ResourceGroup -LoadBalancerName $LoadBalancerName -Debug
ForEach ($backendPool in $backendPools) {
Write-Host "OutboundRule", $backendPool.OutboundRuleText
Write-Host "VirtualNetwork", $backendPool.VirtualNetworkText
}
```
The **OutboundRule** and **VitualNetwork** values returned is **null**.
### Issue script & Debug output
```PowerShell
OutboundRule null
VirtualNetwork null
```
### Environment data
```PowerShell
Name Value
---- -----
PSVersion 7.4.6
PSEdition Core
GitCommitId 7.4.6
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
```
### Module versions
```PowerShell
Name : Az
Version : 13.1.0
Type : Module
Description : Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module is
compatible with PowerShell and Windows PowerShell.
For more information about the Az module, please visit the following:
https://learn.microsoft.com/powershell/azure/
Author : Microsoft Corporation
CompanyName : azure-sdk
Copyright : Microsoft Corporation. All rights reserved.
PublishedDate : 1/14/2025 3:21:18 AM
InstalledDate : 1/17/2025 12:36:42 PM
UpdatedDate :
LicenseUri : https://aka.ms/azps-license
ProjectUri : https://github.com/Azure/azure-powershell
IconUri :
Tags : {Azure, ARM, ResourceManager, Linux…}
Includes : {[Cmdlet, System.Object[]], [RoleCapability, System.Object[]], [Command,
System.Object[]], [Function, System.Object[]]…}
PowerShellGetFormatVersion :
ReleaseNotes : 13.1.0 - January 2025
General
* Signed all Az packages published to PowerShell Gallery
Az.Accounts
* Fixed the Managed Identity parameter set description of 'AccountId' in
'Connect-AzAccount'.
* Made the breaking change warnings about 'Get-AzAccessToken' not appear when
'-AsSecureString' is used.
* Fixed an issue that cmdlets may report warnings of 'KeyNotFoundException'. #26624
* Fixed an issue that the '-AppliesTo' parameter of 'Update-AzConfig' does not work as
expected.
* Upgraded Azure.Core to 1.44.1 and Azure.Identity to 1.13.0.
* Updated Azure PowerShell intercept survey prompt.
Az.Aks
* Fixed the issue that HTTP request body contains empty userAssignedIdentities object
when identity type is 'SystemAssigned'.
Az.ApiManagement
* Fixed model creation parameters of ApiCreateOrUpdateParameter, ProductContract,
SubscriptionCreateParameters, GroupCreateParameters, OpenidConnectProviderContract,
IdentityProviderCreateContract, BackendContract, CacheContract and DiagnosticContract
with [#26672].
Az.Batch
* Fixed 'Object reference not set to an instance of an object' error when setting null
values inside job 'CommonEnvironmentSettings' property.
Az.Compute
* Upgraded Azure.Core to 1.44.1.
* Compute gallery related cmdlets will now use 2024-03-03 GalleryRP API calls.
Az.ContainerInstance
* Added breaking change warning for removing default value for OsType
'New-AzContainerGroup'
Az.ContainerRegistry
* Upgraded Azure.Core to 1.44.1.
Az.CosmosDB
* Upgraded Azure.Core to 1.44.1.
Az.Databricks
* Updated Az.Databricks to use more intuitive parameter names for the ESC feature.
Az.DataFactory
* Added support for additional MySQL connection properties.
* Added support for Azure PostgreSQL v2, updated connection strings, and corrected Linked
JSON configurations.
Az.DataProtection
* Added support for UAMI in Backup Instance
Az.DevTestLabs
* Removed 'Microsoft.Azure.Management.DevTestLabs' Version '1.0.0' PackageReference
Az.HealthDataAIServices
* General availability for module Az.HealthDataAIServices
* Upgraded API version to 2024-09-20
Az.IotHub
* Removed 'Microsoft.Azure.Management.IotHub' Version '4.2.0' PackageReference
Az.KeyVault
* Upgraded Azure.Core to 1.44.1.
Az.Kusto
* Added new cmdlets
- 'Add-AzKustoClusterCalloutPolicy'
- 'Get-AzKustoClusterCalloutPolicy'
- 'Remove-AzKustoClusterCalloutPolicy'
- 'Get-AzKustoClusterFollowerDatabaseGet'
Az.LogicApp
* Removed 'Microsoft.Azure.Management.Logic' Version '4.1.0' PackageReference
Az.Maintenance
* Added list of allowed classifications in description for Maintenance Configuration
* Fixed incorrect parameter mapping in Get-AzApplyUpdate
Az.Migrate
* Added support for PremiumV2 disk type.
* Added SBM support.
Az.Network
* Onboarded 'Microsoft.HeathDataAIServices/deidServices' to private link cmdlets
* Updated 'Remove-AzNetworkWatcherFlowLog' command to return boolean value
* Updated vnv and ipam cmdlets
* Allowed TA interval to be set as 0 incase TA is disabled
* Onboarded Azure Virtual Network Manager Cmdlets for IpamPool
- 'Get-AzNetworkManagerAssociatedResourcesList'
- 'Get-AzNetworkManagerIpamPool'
- 'Get-AzNetworkManagerIpamPoolStaticCidr'
- 'Get-AzNetworkManagerIpamPoolUsage'
- 'New-AzNetworkManagerIpamPool'
- 'New-AzNetworkManagerIpamPoolStaticCidr'
- 'Remove-AzNetworkManagerIpamPool'
- 'Remove-AzNetworkManagerIpamPoolStaticCidr'
- 'Set-AzNetworkManagerIpamPool'
* Onboarded Azure Virtual Network Manager Cmdlets for VnetVerifier
- 'New-AzNetworkManagerSecurityGroupItem'
- 'New-AzNetworkManagerVerifierWorkspace'
- 'Get-AzNetworkManagerVerifierWorkspace'
- 'Set-AzNetworkManagerVerifierWorkspace'
- 'Remove-AzNetworkManagerVerifierWorkspace'
- 'New-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisIntent'
- 'Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisIntent'
- 'Remove-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisIntent'
- 'New-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun'
- 'Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun'
- 'Remove-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun'
* Updated cmdlet to add the property of 'NetworkGroupAddressSpaceAggregationOption', and
updated corresponding cmdlets.
- 'New-AzNetworkManagerSecurityAdminConfiguration'
- 'New-AzNetworkManagerAddressPrefixItemCommand'
* Added 'DefaultOutboundConnectivityEnabled' property in PSNetworkInterface
* Added support for 'AutoscaleConfiguration' property in 'AzureFirewall' model for
'New-AzFirewall' and 'Set-AzFirewall' commands
* Added support for 'ResiliencyModel' property in 'New-AzVirtualNetworkGateway' and
'Set-AzVirtualNetworkGateway' command for ExpressRoute
Az.NetworkCloud
* Upgraded API version to 2024-07-01
Az.PolicyInsights
* Upgraded Azure.Core to 1.44.1.
Az.PowerBIEmbedded
* Removed 'Microsoft.Azure.Management.PowerBIEmbedded' Version '1.1.1-preview'
PackageReference
* Removed 'Microsoft.Azure.Management.PowerBIDedicated' Version '0.11.0-preview'
PackageReference
Az.RecoveryServices
* Updated the policy, protection commands to support AFS Vault Tier.
Az.RedisCache
* Added support for choosing Zonal Allocation Policy
Az.Resources
* Added DefaultApiVersion to the returned properties of the 'Get-AzResourceProvider'
cmdlet's Resource Type array
* Added Diagnostics/Warnings to WhatIf/Validate results for deployments.
* Fixed bug unexpected type issue: [#26752]
* Added parameter 'RequestedAccessTokenVersion' for 'New-AzADApplication' and
'Update-AzADApplication'
Az.SignalR
* Removed 'Microsoft.Azure.Management.SignalR' Version '1.1.2-preview' PackageReference
Az.Sql
* Updated 'New-AzSqlDatabaseExport' with support for Managed Identity
- Added 'ManagedIdentity' to 'StorageKeyType' auth list
- Added 'ManagedIdentity' to 'AuthenticationType' auth list
* Updated 'New-AzSqlDatabaseImport' with support for Managed Identity
- Added 'ManagedIdentity' to 'StorageKeyType' auth list
- Added 'ManagedIdentity' to 'AuthenticationType' auth list
Az.Storage
* Added warning message for account migration cmdlet.
- 'Start-AzStorageAccountMigration'
* Fixed error message when creating OAuth based Storage context without first login with
Connect-AzAccount.
- 'New-AzStorageContext'
* Upgraded Azure.Storage.Blobs to 12.23.0
* Upgraded Azure.Storage.Files.Shares to 12.21.0
* Upgraded Azure.Storage.Files.DataLake to 12.21.0
* Upgraded Azure.Storage.Queues to 12.21.0
* Supported ClientName property when listing file handles
- 'Get-AzStorageFileHandle'
* Upgraded Azure.Core to 1.44.1.
Az.Synapse
* Upgraded Azure.Core to 1.44.1.
Az.Websites
* Fixed the source app retrieval from Microsoft.Web RP instead of ARM cache for
'RestoreAzureWebAppSnapshot'
Dependencies : {}
RepositorySourceLocation : https://www.powershellgallery.com/api/v2
Repository : PSGallery
PackageManagementProvider : NuGet
AdditionalMetadata : @{summary=Microsoft Azure PowerShell - Cmdlets to manage resources in Azure. This module
is compatible with PowerShell and Windows PowerShell.
For more information about the Az module, please visit the following:
https://learn.microsoft.com/powershell/azure/; Type=Module; published=1/14/2025 3:21:18
AM; SourceName=PSGallery; copyright=Microsoft Corporation. All rights reserved.;
PackageManagementProvider=NuGet; description=Microsoft Azure PowerShell - Cmdlets to
manage resources in Azure. This module is compatible with PowerShell and Windows
PowerShell.
For more information about the Az module, please visit the following:
https://learn.microsoft.com/powershell/azure/;
installeddate=2025-01-17T12:36:42.9358375-06:00; tags=Azure ARM ResourceManager Linux
AzureAutomationNotSupported PSModule PSEdition_Core PSEdition_Desktop;
InstalledLocation=C:\Program Files\PowerShell\Modules\Az\13.1.0; releaseNotes=13.1.0 -
January 2025
General
* Signed all Az packages published to PowerShell Gallery
Az.Accounts
* Fixed the Managed Identity parameter set description of 'AccountId' in
'Connect-AzAccount'.
* Made the breaking change warnings about 'Get-AzAccessToken' not appear when
'-AsSecureString' is used.
* Fixed an issue that cmdlets may report warnings of 'KeyNotFoundException'. #26624
* Fixed an issue that the '-AppliesTo' parameter of 'Update-AzConfig' does not work as
expected.
* Upgraded Azure.Core to 1.44.1 and Azure.Identity to 1.13.0.
* Updated Azure PowerShell intercept survey prompt.
Az.Aks
* Fixed the issue that HTTP request body contains empty userAssignedIdentities object
when identity type is 'SystemAssigned'.
Az.ApiManagement
* Fixed model creation parameters of ApiCreateOrUpdateParameter, ProductContract,
SubscriptionCreateParameters, GroupCreateParameters, OpenidConnectProviderContract,
IdentityProviderCreateContract, BackendContract, CacheContract and DiagnosticContract
with [#26672].
Az.Batch
* Fixed 'Object reference not set to an instance of an object' error when setting null
values inside job 'CommonEnvironmentSettings' property.
Az.Compute
* Upgraded Azure.Core to 1.44.1.
* Compute gallery related cmdlets will now use 2024-03-03 GalleryRP API calls.
Az.ContainerInstance
* Added breaking change warning for removing default value for OsType
'New-AzContainerGroup'
Az.ContainerRegistry
* Upgraded Azure.Core to 1.44.1.
Az.CosmosDB
* Upgraded Azure.Core to 1.44.1.
Az.Databricks
* Updated Az.Databricks to use more intuitive parameter names for the ESC feature.
Az.DataFactory
* Added support for additional MySQL connection properties.
* Added support for Azure PostgreSQL v2, updated connection strings, and corrected Linked
JSON configurations.
Az.DataProtection
* Added support for UAMI in Backup Instance
Az.DevTestLabs
* Removed 'Microsoft.Azure.Management.DevTestLabs' Version '1.0.0' PackageReference
Az.HealthDataAIServices
* General availability for module Az.HealthDataAIServices
* Upgraded API version to 2024-09-20
Az.IotHub
* Removed 'Microsoft.Azure.Management.IotHub' Version '4.2.0' PackageReference
Az.KeyVault
* Upgraded Azure.Core to 1.44.1.
Az.Kusto
* Added new cmdlets
- 'Add-AzKustoClusterCalloutPolicy'
- 'Get-AzKustoClusterCalloutPolicy'
- 'Remove-AzKustoClusterCalloutPolicy'
- 'Get-AzKustoClusterFollowerDatabaseGet'
Az.LogicApp
* Removed 'Microsoft.Azure.Management.Logic' Version '4.1.0' PackageReference
Az.Maintenance
* Added list of allowed classifications in description for Maintenance Configuration
* Fixed incorrect parameter mapping in Get-AzApplyUpdate
Az.Migrate
* Added support for PremiumV2 disk type.
* Added SBM support.
Az.Network
* Onboarded 'Microsoft.HeathDataAIServices/deidServices' to private link cmdlets
* Updated 'Remove-AzNetworkWatcherFlowLog' command to return boolean value
* Updated vnv and ipam cmdlets
* Allowed TA interval to be set as 0 incase TA is disabled
* Onboarded Azure Virtual Network Manager Cmdlets for IpamPool
- 'Get-AzNetworkManagerAssociatedResourcesList'
- 'Get-AzNetworkManagerIpamPool'
- 'Get-AzNetworkManagerIpamPoolStaticCidr'
- 'Get-AzNetworkManagerIpamPoolUsage'
- 'New-AzNetworkManagerIpamPool'
- 'New-AzNetworkManagerIpamPoolStaticCidr'
- 'Remove-AzNetworkManagerIpamPool'
- 'Remove-AzNetworkManagerIpamPoolStaticCidr'
- 'Set-AzNetworkManagerIpamPool'
* Onboarded Azure Virtual Network Manager Cmdlets for VnetVerifier
- 'New-AzNetworkManagerSecurityGroupItem'
- 'New-AzNetworkManagerVerifierWorkspace'
- 'Get-AzNetworkManagerVerifierWorkspace'
- 'Set-AzNetworkManagerVerifierWorkspace'
- 'Remove-AzNetworkManagerVerifierWorkspace'
- 'New-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisIntent'
- 'Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisIntent'
- 'Remove-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisIntent'
- 'New-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun'
- 'Get-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun'
- 'Remove-AzNetworkManagerVerifierWorkspaceReachabilityAnalysisRun'
* Updated cmdlet to add the property of 'NetworkGroupAddressSpaceAggregationOption', and
updated corresponding cmdlets.
- 'New-AzNetworkManagerSecurityAdminConfiguration'
- 'New-AzNetworkManagerAddressPrefixItemCommand'
* Added 'DefaultOutboundConnectivityEnabled' property in PSNetworkInterface
* Added support for 'AutoscaleConfiguration' property in 'AzureFirewall' model for
'New-AzFirewall' and 'Set-AzFirewall' commands
* Added support for 'ResiliencyModel' property in 'New-AzVirtualNetworkGateway' and
'Set-AzVirtualNetworkGateway' command for ExpressRoute
Az.NetworkCloud
* Upgraded API version to 2024-07-01
Az.PolicyInsights
* Upgraded Azure.Core to 1.44.1.
Az.PowerBIEmbedded
* Removed 'Microsoft.Azure.Management.PowerBIEmbedded' Version '1.1.1-preview'
PackageReference
* Removed 'Microsoft.Azure.Management.PowerBIDedicated' Version '0.11.0-preview'
PackageReference
Az.RecoveryServices
* Updated the policy, protection commands to support AFS Vault Tier.
Az.RedisCache
* Added support for choosing Zonal Allocation Policy
Az.Resources
* Added DefaultApiVersion to the returned properties of the 'Get-AzResourceProvider'
cmdlet's Resource Type array
* Added Diagnostics/Warnings to WhatIf/Validate results for deployments.
* Fixed bug unexpected type issue: [#26752]
* Added parameter 'RequestedAccessTokenVersion' for 'New-AzADApplication' and
'Update-AzADApplication'
Az.SignalR
* Removed 'Microsoft.Azure.Management.SignalR' Version '1.1.2-preview' PackageReference
Az.Sql
* Updated 'New-AzSqlDatabaseExport' with support for Managed Identity
- Added 'ManagedIdentity' to 'StorageKeyType' auth list
- Added 'ManagedIdentity' to 'AuthenticationType' auth list
* Updated 'New-AzSqlDatabaseImport' with support for Managed Identity
- Added 'ManagedIdentity' to 'StorageKeyType' auth list
- Added 'ManagedIdentity' to 'AuthenticationType' auth list
Az.Storage
* Added warning message for account migration cmdlet.
- 'Start-AzStorageAccountMigration'
* Fixed error message when creating OAuth based Storage context without first login with
Connect-AzAccount.
- 'New-AzStorageContext'
* Upgraded Azure.Storage.Blobs to 12.23.0
* Upgraded Azure.Storage.Files.Shares to 12.21.0
* Upgraded Azure.Storage.Files.DataLake to 12.21.0
* Upgraded Azure.Storage.Queues to 12.21.0
* Supported ClientName property when listing file handles
- 'Get-AzStorageFileHandle'
* Upgraded Azure.Core to 1.44.1.
Az.Synapse
* Upgraded Azure.Core to 1.44.1.
Az.Websites
* Fixed the source app retrieval from Microsoft.Web RP instead of ARM cache for
'RestoreAzureWebAppSnapshot'; IsPrerelease=False}
InstalledLocation : C:\Program Files\PowerShell\Modules\Az\13.1.0
```
### Error output
```PowerShell
Empty
```
Contributor guide
Assessment
This issue has not been assessed yet.