Azure Container Apps Environment not setting daprAIConnectionString nor daprAIInstrumentationKey using azure cli or PoweShell
Francisco Tineo Mateo
0
Reputation points
We're deploying an Azure Container Application Environment and trying to setup the Dapr Connection String and Dapr Instrumentation Key. We get the same outcome whether we create using the az cli (version 2.66.0) command, PowerShell or Terraform.
PowerShell command:
New-AzContainerAppManagedEnv `
-ResourceGroupName "<ResourceGroupName>" `
-Location "<Location>" `
-Name "<EnvironmentName>" `
-DaprAiConnectionString "<DaprAiConnectionString>" `
-DaprAiInstrumentationKey "<DaprAiInstrumentationKey>" `
-VnetConfigurationInternal `
-WorkloadProfile $workloadProfile `
-VnetConfigurationInfrastructureSubnetId "<InfrastructureSubnetId>"
Azure CLI command:
az containerapp env create `
-g <ResourceGroupName> `
-l <Location> `
-n <EnvironmentName> `
-w `
--logs-workspace-id "<LogsWorkspaceId>" `
-d $APP_INSIGHTS_CONNECTION_STRING `
--dapr-instrumentation-key $APP_INSIGHTS_INSTRUMENTATION_KEY `
--internal-only true `
--logs-destination log-analytics `
-s "/subscriptions/<SubscriptionId>/resourceGroups/<ResourceGroupName>/providers/Microsoft.Network/virtualNetworks/<VirtualNetworkName>/subnets/<SubnetName>"
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more