Adf ml analytics

From JosiahSiegel/claude-plugin-marketplace · View interactive version

Adf ml analytics is an AI agent skill from the GitHub repository JosiahSiegel/claude-plugin-marketplace. ADF + Azure ML and analytics integrations. PROACTIVELY activate for: (1) Azure ML batch endpoints invoked from ADF, (2) Azure OpenAI Batch API pipeline patterns, (3) ADF ML scoring orchestration, (4) SQL to Storage archival pipelines, (5) AI Services integration via REST connector, (6) Databricks no

How to use this skill

Skill file

Azure Data Factory Machine Learning & Analytics Patterns

Overview

Azure Data Factory orchestrates ML workflows by integrating with Azure Machine Learning, Azure AI Services, Databricks ML, and Azure SQL Database. This skill covers patterns for extracting data from ephemeral sources (like Azure SQL Database), archiving to Azure Storage for long-term analysis, and leveraging ML services for scoring and insights.

Deprecation Notices & Platform Changes (Current March 2026)

Azure AI Foundry -> Microsoft Foundry (November 2025)

Azure ML SDK v1 - SUPPORT ENDING JUNE 2026

Azure AI Inference SDK - RETIRING MAY 30, 2026

Azure SQL Edge - RETIRED September 30, 2025

Cognitive Services for Power BI Dataflows - RETIRED

Azure Cognitive Services - REBRANDED

Apache Airflow in ADF - DEPRECATED


Integration Patterns Quick Reference

| Pattern | Activity Type | Summary | Details |

|---------|--------------|---------|---------|

| Azure ML (Legacy SDK v1) | AzureMLExecutePipeline | Execute published ML pipelines via SDK v1 linked service. Support ends June 2026 -- migrate to batch endpoints. | See references/azure-ml-patterns.md |

| Azure ML Batch Endpoints (SDK v2) | WebActivity | Recommended approach for batch inference. Submit jobs to batch endpoints via REST, poll for completion with Until loop. | See references/azure-ml-patterns.md |

| Azure ML Online Endpoints | WebActivity | Real-time scoring of individual records or small batches via managed online endpoints with MSI auth. | See references/azure-ml-patterns.md |

| T-SQL PREDICT | SqlServerStoredProcedure | In-database ONNX model scoring. Available on SQL Server 2017+, SQL MI, and Synapse -- not Azure SQL Database. | See references/sql-archival-patterns.md |

| sp_execute_external_script | SqlServerStoredProcedure | Run Python/R scripts inside SQL Managed Instance with ML Services enabled. Good for small-medium datasets. | See references/sql-archival-patterns.md |

| SQL to Storage Archival | Copy (ForEach) | Archive ephemeral SQL data to Parquet in Blob/ADLS Gen2. Includes full-snapshot and incremental watermark patterns. | See references/sql-archival-patterns.md |

| Azure AI Services | WebActivity | Call pre-built AI (sentiment, anomaly detection, vision) via REST. Use Key Vault for API keys. Batch scoring with ForEach. | See references/ai-services-and-openai-patterns.md |

| Azure OpenAI Batch API | WebActivity | LLM scoring at 50% less cost. Upload JSONL, create batch job, poll for completion. Ideal for text classification and enrichment. | See references/ai-services-and-openai-patterns.md |

| Databricks ML | DatabricksJob | Orchestrate ML training and batch scoring via Databricks Jobs with MLflow tracking. Extract from SQL, score, write back. | See references/databricks-ml-and-e2e-patterns.md |

| Data Flow Features | ExecuteDataFlow | Spark-based feature engineering with window functions, derived columns, pivots, and filters before ML scoring. | See references/databricks-ml-and-e2e-patterns.md |

| End-to-End ML Pipeline | ExecutePipeline + Switch | Modular pipeline: archive -> feature engineering -> train or score (Switch activity) using Databricks sub-pipelines. | See references/databricks-ml-and-e2e-patterns.md |


Best Practices

Data Architecture

  1. Archive first, analyze later - Copy ephemeral SQL data to Storage as Parquet before running ML
  2. Use Parquet format - Columnar format is optimal for ML workloads (compression, column pruning)
  3. Date-partition storage - Use snapshot_date=YYYY-MM-DD partitioning for versioned archives
  4. Separate containers - Use distinct containers for raw archives, features, models, and scores

ML Orchestration

  1. Databricks Job activity for complex ML (training, MLflow, distributed compute)
  2. WebActivity + Azure ML batch endpoints for managed ML inference (SDK v2)
  3. WebActivity + Azure OpenAI Batch API for LLM scoring at 50% cost (text analysis, enrichment)
  4. WebActivity + Azure AI Services for pre-built AI capabilities (NLP, vision, anomaly detection)
  5. Data Flows for feature engineering when Spark-based transformations are needed
  6. Execute Pipeline pattern to modularize archive -> feature -> train -> score steps
  7. T-SQL PREDICT for in-database scoring (SQL Server/Managed Instance/Synapse only -- not Azure SQL Database)

Security

  1. Managed Identity for all Azure service connections (ML workspace, Storage, SQL)
  2. Key Vault for API keys (Azure AI Services, external endpoints)
  3. Never hardcode secrets, connection strings, or API keys in pipeline JSON
  4. Least privilege - Grant only required roles (Blob Data Contributor for storage, ML workspace roles for ML)

Cost Optimization

  1. Use General Purpose compute for Data Flows unless memory-intensive
  2. Databricks serverless compute for variable ML workloads
  3. Set appropriate timeouts on ML activities (training can be long-running)
  4. Batch scoring over real-time when latency allows (cheaper, more efficient)
  5. Incremental extraction from SQL to avoid re-copying unchanged data

Resources

Additional Reference Files

Detailed JSON examples and implementation patterns are in the references/ directory:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.