I'm receiving the following error when trying to manually increase the number of instances above 10 on an Azure Scale set.
Failed to update autoscale configuration for 'XXXX'.{ "error": { "details": [], "code": "InboundNatPoolFrontendPortRangeSmallerThanRequestedPorts", "message": "The frontend port range for the inboundNATpool /subscriptions/xxxx/resourceGroups/xxxx/providers/Microsoft.Network/loadBalancers/LB-xxx/inboundNatPools/DebuggerListenerNatPool-4vhwwa8stp is smaller than the requested number of ports 15 in VM scale set /subscriptions/xxx/resourceGroups/xxxx/providers/Microsoft.Compute/virtualMachineScaleSets/XXXX." } }
The default number of instances is 3 and any number up to 10 works as expected. The subscription has plenty of available cores.
Looking at the referenced load balancer in Azure portal, I cannot see any settings that are obviously linked to this error message. The LB has a setting 'SKU' that has a value of 'Basic' which i guess may be an issue? (although reading up on this would indicate the limit there is 100)
There are no google results for the code 'InboundNatPoolFrontendPortRangeSmallerThanRequestedPorts' and searching for parts of the error message didn't give any meaningful results.
Any pointers appreciated