"InvalidParameter. The specified fault domain count 3 must fall in the range 1 to 2"

This article discusses how to resolve the InvalidParameter (fault domain) 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:

InvalidParameter. The specified fault domain count 3 must fall in the range 1 to 2.

Cause

The platformFaultDomainCount parameter is invalid for the region or zone that's selected.

Solution

You must select a valid platformFaultDomainCount value. For zonal deployments, the maximum platformFaultDomainCount value is 1. For regional deployments for which no zone is specified, the maximum platformFaultDomainCount value varies depending on the region. To determine the maximum fault domain count per region, see Choosing the right number of fault domains for Virtual Machine Scale Set.

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.