"OutboundConnectivityNotEnabledOnVM. No outbound connectivity configured for virtual machine"
This article discusses how to resolve the OutboundConnectivityNotEnabledOnVM
error that occurs when you deploy a Microsoft Azure Virtual Machine Scale Set by using Flexible orchestration mode.
Symptoms
When you deploy a Virtual Machine Scale Set by using Flexible orchestration mode, you receive the following error message:
OutboundConnectivityNotEnabledOnVM. No outbound connectivity configured for virtual machine.
Cause
You tried to create a Virtual Machine Scale Set in Flexible orchestration mode without having an outbound internet connection.
Solution
Enable secure outbound access for your Virtual Machine Scale Set by using a method that's best suited for your application. Outbound access can be enabled by using one of the following methods:
Use a Network Address Translation (NAT) Gateway on your subnet.
Add an explicit public IP address per scale set instance.
For highly secure applications, you can specify custom user-defined routes through your firewall or virtual network applications. For more information, see Default outbound access in Azure.
Contact us for help
If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.