Generate ADF linked service JSON for any connector with proper authentication
Generates Azure Data Factory linked service JSON with proper authentication and best practices.
/plugin marketplace add JosiahSiegel/claude-plugin-marketplace/plugin install adf-master@claude-plugin-marketplace<connector-type> <authentication-method>Generate Azure Data Factory linked service JSON configurations with proper authentication and best practices.
Create a complete, valid linked service JSON based on the specified connector type and authentication method.
$ARGUMENTS: Connector type and optional authentication method
blob managed-identityazure-sql service-principalrest oauth2sftp ssh-keyfabric-lakehouseblob / azure-blob - Azure Blob Storageadls / adls-gen2 - Azure Data Lake Storage Gen2azure-files - Azure File Storageazure-sql / sql-database - Azure SQL Databasesynapse / azure-synapse - Azure Synapse Analyticssql-server - SQL Server (on-prem or VM)postgresql - PostgreSQLsnowflake - Snowflakefabric-lakehouse - Microsoft Fabric Lakehousefabric-warehouse - Microsoft Fabric Warehouserest / rest-api - REST APIhttp - HTTP Serversftp - SFTP Serverdatabricks - Azure Databrickskeyvault / key-vault - Azure Key Vaultservicenow - ServiceNow (V2)salesforce - Salesforce| Method | Description | Applicable To |
|---|---|---|
managed-identity / mi | System-assigned managed identity (Recommended) | Blob, ADLS, SQL, Synapse, REST, Databricks |
service-principal / sp | Azure AD application | Blob, ADLS, SQL, Synapse, REST, Databricks, Fabric |
connection-string / cs | Connection string | Blob, SQL |
account-key | Storage account key | Blob, ADLS |
sas | Shared Access Signature | Blob, ADLS |
sql-auth | SQL Server authentication | SQL, Synapse |
basic | Username/password | REST, SFTP |
oauth2 | OAuth 2.0 client credentials | REST, ServiceNow |
access-token | Personal access token | Databricks |
ssh-key | SSH public key | SFTP |
key-pair | Key pair authentication | Snowflake |
LS_<Connector>_<Purpose>_<AuthMethod>
LS_AzureBlobStorage_DataLake_MILS_AzureSql_Staging_SPManaged Identity (Blob Storage):
{
"type": "AzureBlobStorage",
"typeProperties": {
"serviceEndpoint": "https://<account>.blob.core.windows.net",
"accountKind": "StorageV2" // CRITICAL - REQUIRED for MI!
}
}
Service Principal:
{
"typeProperties": {
"servicePrincipalId": "<app-id>",
"servicePrincipalKey": {
"type": "AzureKeyVaultSecret",
"store": { "referenceName": "LS_KeyVault", "type": "LinkedServiceReference" },
"secretName": "<secret-name>"
},
"tenant": "<tenant-id>"
}
}
Generate complete JSON with:
// Linked Service: LS_AzureBlobStorage_DataLake_MI
// Required Role: Storage Blob Data Reader (source) or Contributor (sink)
// Pre-requisite: ADF managed identity must be assigned the role
{
"name": "LS_AzureBlobStorage_DataLake_MI",
"type": "Microsoft.DataFactory/factories/linkedservices",
"properties": {
"type": "AzureBlobStorage",
"typeProperties": {
"serviceEndpoint": "https://mystorageaccount.blob.core.windows.net",
"accountKind": "StorageV2"
},
"connectVia": {
"referenceName": "AutoResolveIntegrationRuntime",
"type": "IntegrationRuntimeReference"
}
}
}
accountKindtokenEndpoint and resourceskipHostKeyValidation for dev environments only