Hi,
For -Type parameter, you need to use a valid value as returned by Get-AzCognitiveServicesAccountType cmdlet. So first run command similar to below:
Get-AzCognitiveServicesAccountType -Location southcentralus
And then command would look similar to below (in example below I use Face since that was one of the values returned from Get-AzCognitiveServicesAccountType):
$account = New-AzCognitiveServicesAccount -ResourceGroupName cloud-shell-storage-southcentralus -name cs710032000dd678293 -Type Face -SkuName F0 -Location southcentralus -CustomSubdomainName Progress2
Please reference documentation for New-AzCognitiveServicesAccount:
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP