Start-AzureRmNetworkWatcherResourceTroubleshooting is not supported on PolicyBased VPN, any workaround?

Hi all,

I’m writing a script to monitor the VPN connection between Azure and on-premises (pretty much like this one https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-monitor-with-azure-automation#scenario)

I’m facing the below error

Start-AzureRmNetworkWatcherResourceTroubleshooting : NetworkWatcher troubleshoot gateway Vpn type not supported, current type PolicyBased, supported types RouteBased StatusCode: 400 ReasonPhrase: Bad Request

Is there anyway I can workaround this? any other methods to monitor the VPN traffic other than Azure Network Watcher as it’s not supported according to https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-troubleshoot-overview

Thanks and Best,

submitted by /u/BasselDamra
[link] [comments]

Leave a Reply