Azure Data Explorer Command block does not show parameters for parametrized linked service

Oleh Yermokhin 21 Reputation points
2021-07-29T13:40:08.237+00:00

I have parametrised linked service for Azure Data Explorer. The json looks like this:

{  
    "properties": {  
        "type": "AzureDataExplorer",  
        "parameters": {  
            "AzureDataExplorerClusterUrl": {  
                "type": "String",  
                "defaultValue": ""  
            },  
            "AzureDataExplorerDatabaseName": {  
                "type": "String",  
                "defaultValue": ""  
            }  
        },  
        "annotations": [],  
        "typeProperties": {  
            "endpoint": "@{linkedService().AzureDataExplorerClusterUrl}",  
            "database": "@{linkedService().AzureDataExplorerDatabaseName}"  
        }  
    }  
}  

This works good with copy activity block and parameters input looks ok:

119039-image.png

But when Azure Data Explorer Command block is used, there is not inputs for these parameters:

118998-image.png

So the command will be executed always with defaults values of these parameters. This looks like a bug.

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
484 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,623 questions
{count} votes

Accepted answer
  1. Vaibhav Chaudhari 38,616 Reputation points
    2021-07-30T05:47:20.953+00:00

    Have you tried providing parameters in the Command section?

    119187-image.png

    Reference - https://learn.microsoft.com/en-us/azure/data-explorer/data-factory-command-activity

    ----------

    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav


0 additional answers

Sort by: Most helpful