Azure Network Watcher is designed to monitor and diagnose network traffic and connectivity issues within Azure virtual networks. It does not manage access, deploy VMs, or handle backups.
The correct command to enable Network Watcher in a region is az network watcher configure --locations eastus --enabled true. Other commands are invalid or do not exist.
Continuous packet capture is done by enabling Network Watcher packet capture on the VM's network interface and saving data to a storage account. NSG flow logs and Azure Monitor logs provide different data types.
Packet capture files may contain sensitive data. Storing them in a secure, access-controlled, and encrypted storage account protects this data. Public sharing or disabling encryption risks exposure.
az network watcher test-connectivity --source-resource-id /subscriptions/123/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1 --dest-address 8.8.8.8 --dest-port 53What is the expected output type?
The test-connectivity command returns a JSON object with the connectivity test result, including success or failure and diagnostic details. It does not list VMs or just confirm Network Watcher status.