Related command
az cognitiveservices account update -n <name> -g <group>
Is your feature request related to a problem? Please describe.
You can set it with the Azure Powershell commands, but not with the az cli:
Set-AzCognitiveServicesAccount -ResourceGroupName <name> -Name <name> -DisableLocalAuth $True
Describe the solution you'd like
Add this as a parameter in the command
az cognitiveservices account update -n <name> -g <group> --disableLocalAuth true
Describe alternatives you've considered
By now the only workaround is to use the ps command.
Additional context
This page says that you can use a policy to disable it, but it is not true, the policy just audits the state and marks the resources as not compliant, but does not modify the value.
Related command
az cognitiveservices account update -n <name> -g <group>Is your feature request related to a problem? Please describe.
You can set it with the Azure Powershell commands, but not with the az cli:
Set-AzCognitiveServicesAccount -ResourceGroupName <name> -Name <name> -DisableLocalAuth $TrueDescribe the solution you'd like
Add this as a parameter in the command
az cognitiveservices account update -n <name> -g <group> --disableLocalAuth trueDescribe alternatives you've considered
By now the only workaround is to use the ps command.
Additional context
This page says that you can use a policy to disable it, but it is not true, the policy just audits the state and marks the resources as not compliant, but does not modify the value.