diff --git a/src/containerapp/azext_containerapp/custom.py b/src/containerapp/azext_containerapp/custom.py index 8a87619b69f..a4cac4fdb77 100644 --- a/src/containerapp/azext_containerapp/custom.py +++ b/src/containerapp/azext_containerapp/custom.py @@ -1836,13 +1836,13 @@ def enable_dapr(cmd, name, resource_group_name, dapr_app_id=None, dapr_app_port= containerapp_def['properties']['configuration']['dapr'] = {} if dapr_app_id: - containerapp_def['properties']['configuration']['dapr']['dapr_app_id'] = dapr_app_id + containerapp_def['properties']['configuration']['dapr']['appId'] = dapr_app_id if dapr_app_port: - containerapp_def['properties']['configuration']['dapr']['dapr_app_port'] = dapr_app_port + containerapp_def['properties']['configuration']['dapr']['appPort'] = dapr_app_port if dapr_app_protocol: - containerapp_def['properties']['configuration']['dapr']['dapr_app_protocol'] = dapr_app_protocol + containerapp_def['properties']['configuration']['dapr']['appProtocol'] = dapr_app_protocol containerapp_def['properties']['configuration']['dapr']['enabled'] = True