Share via

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.

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


Answer accepted by question author

Vaibhav Chaudhari 39,011 Reputation points Volunteer Moderator
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

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.