POST Request for effectiveRoutes of WAN Hub is always empty and therefore, the script finishes falsely with the log "No connected virtual networks or hubs to {virtual_wan_hub}".
Expected Behavior
Should return the subnet in effective routes of a WAN hub such as subnets of virtual networks.
Current Behavior
Always returns the following empty value regardless of having effective routes.
POST Request for effectiveRoutes of WAN Hub is always empty and therefore, the script finishes falsely with the log "No connected virtual networks or hubs to {virtual_wan_hub}".
Expected Behavior
Should return the subnet in effective routes of a WAN hub such as subnets of virtual networks.
Current Behavior
Always returns the following empty value regardless of having effective routes.
Possible Solution
Craft payload and correct headers for the POST request in function get_azure_virtual_wan_gateway_config.
Steps to Reproduce
Possible Implementation