Hi Experts,
The description in the Azure CLI section says "You can set the parameter --platform-fault-domain-count to 1, 2, or 3 (default of 5 if not specified).". But when without --platform-fault-domain-count option az vmss create command executing, the value of "platformFaultDomainCount" was not set from Azure Resource Explorer.


Is this behavior expected?
The executed command is as follows:
az vmss create --resource-group <Resource Group name> --name <VMSS name> --image UbuntuLTS --upgrade-policy-mode automatic --admin-username <user name> --generate-ssh-keys --single-placement-group false
When creating the VMSS from the Azure portal, the following settings were set to ""platformFaultDomainCount" : 5".

Best Regards,
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@kogesaka , Thank you for your feedback. We will investigate and get back to you shortly.
@mayanknayar I am also seeing the same.
When I create the VMSS using portal, I can see this in activity log:

But --platform-fault-domain-count does not show up for VMSS created via Azure CLI, in activity log.
Can you please help us confirm on this behavior? Thanks :)
@mayanknayar Did you get a chance to take a look at the customer's question. Need your help with the confirmation. Thanks. :)
The platform fault domain count will default to 5, whenever a value has not been specified. It is possible that CLI is not showing the count as a return response, but the count would have been set. Please check with a GET on the VMSS.
@kogesaka Please try the suggestion shared above and share the results.
https://docs.microsoft.com/en-us/powershell/module/azurerm.compute/get-azurermvmss?view=azurermps-6.13.0
Hi, @mayanknayar @Karishma-Tiwari-MSFT ,
I checked using Get-AzVmss, but there was no PlatformFaultDomainCount item.
It seems that it is not displayed unless it is created by Azure portal or "az vmss create" command with "--platform-fault-domain-count" option.
Thanks @kogesaka
@mayanknayar Thanks for sharing your inputs. Can you please help confirm on this behavior. Thanks :)
Hi, @mayanknayar @Karishma-Tiwari-MSFT ,
I checked using Get-AzVmss, but there was no PlatformFaultDomainCount item.
It seems that it is not displayed unless it is created by Azure portal or "az vmss create" command with "--platform-fault-domain-count" option.
@Karishma-Tiwari-MSFT - this needs to be raised with the CLI team. Please start a thread with the CLI team
I am closing this issue and opening a issue with Azure CLI team.
Thanks for bringing this to our attention. We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.