Cannot create a linked-service of type AzureDatabricksDeltaLake
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**Describe the bug**
Getting "Bad Request" error when using **az datafactory linked-service create** command to create a linked service of type **AzureDatabricksDeltaLake**, any other type is working fine.
**To Reproduce**
Run the following command in a PowerShell console in a Windows machine:
`az datafactory linked-service create --factory-name "myadf" --resource-group "myrg" --linked-service-name "test" --properties "C:\adf\linkedService\test-properties.json"`
The content in the properties file is as follows:
```
{
"description": "Test linked service",
"type": "AzureDatabricksDeltaLake",
"typeProperties": {
"domain": "https://adb-123456789.0.azuredatabricks.net",
"clusterId": "1212-232323-abcdef111",
"accessToken": {
"type": "AzureKeyVaultSecret",
"store": {
"referenceName": "irmkeyvault",
"type": "LinkedServiceReference"
},
"secretName": "cluster-token"
}
}
}
```
The result of running above command is:
`Operation returned an invalid status 'Bad Request'`
**Expected behavior**
Linked service successfully created in the Factory and command printing the resulting linked service JSON object.
**Environment summary**
- azure-cli: 2.21.0
- datafactory extension: 0.2.0
Contributor guide
Assessment
This issue has not been assessed yet.