Update azure-mgmt-network package version#4444
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Azure optional dependency azure-mgmt-network in pyproject.toml, presumably to pick up newer Azure Network API surface/bugfixes for the Azure SUT orchestrator.
Changes:
- Bump
azure-mgmt-networkfrom~= 19.3.0to~= 27.0.0under theazureoptional dependency set.
LiliDeng
approved these changes
May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updated the "azure-mgmt-network" package version from 19.3.0 to 27.0.0. The new package will have support to update the package with defaultOutboundAccess parameter.
As part of SFI changes, we can't either create private subnet or update private subnet to non private subnet. During the resource creation we are able to create subnet as private via enable_vm_nat parameter, but when we are calling this function create_route_table, we are dropping the defaultOutboundAccess parameter because the azure-mgmt-network package is dropping it. Updating the package will help us update the subnet with defaultOutboundAccess parameter
Related Issue
Before doing the above fix we were facing this issue, where defaultOutBoundAccess parameter is being dropped during this function call create_route_table. With SFI policies, when these parameters are not added the tests will fail with error

Note: The above error will be seen only if customer enforces that subnet should not be private in their subscription
After updating the package this parameter getting dropped will be resolved
Type of Change
Checklist
Test Validation
Ran internal tests and after the change tests are passing
Before:


After:
Key Test Cases:
test_network_rules
Impacted LISA Features:
Tested Azure Marketplace Images:
Test Results