skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

azure-ai-ml-py

Azure ML workspace and job management

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/microsoft/skills --skill azure-ai-ml-py

Overview

What This Skill Does

Azure Machine Learning SDK v2 for Python (azure-ai-ml) lets you manage ML resources on Azure programmatically. It covers workspaces, training jobs, model registration, compute clusters, datasets, pipelines, and environments through the MLClient interface.

Application

When to use this Skill

Documentation

Show Skills.md file

Azure Machine Learning SDK v2 for Python

Client library for managing Azure ML resources: workspaces, jobs, models, data, and compute.

Installation

pip install azure-ai-ml

Environment Variables

AZURE_SUBSCRIPTION_ID=<your-subscription-id>  # Required for all auth methods
AZURE_RESOURCE_GROUP=<your-resource-group>  # Required for all auth methods
AZURE_ML_WORKSPACE_NAME=<your-workspace-name>  # Required for all auth methods
AZURE_TOKEN_CREDENTIALS=prod # Required only if DefaultAzureCredential is used in production

Authentication & Lifecycle

🔑 Two rules apply to every code sample below:

  1. Prefer DefaultAzureCredential. It works locally (Azure CLI / VS Code / Developer CLI) and in Azure (managed identity, workload identity) with no code change. Avoid connection strings, account/API keys — they bypass Entra audit and rotation.
    • Local dev: DefaultAzureCredential works as-is.
Lines 1 - 25 of 289

Recommendations

Explore other random skills

All skillsMy patterns