gured to authenticate with Azure Service ConnectorTo configure the Azure Service Connector, you need to register a new service connector, but first let's check the available service connectors types using the following command:

zenml service-connector list-types --type azure

┏━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━┯━━━━━━━┯━━━━━━━━┓

┃          NAME           │ TYPE      │ RESOURCE TYPES        │ AUTH METHODS      │ LOCAL │ REMOTE ┃

┠─────────────────────────┼───────────┼───────────────────────┼───────────────────┼───────┼────────┨

┃ Azure Service Connector │ 🇦  azure │ 🇦  azure-generic     │ implicit          │ ✅    │ ➖     ┃

┃                         │           │ 📦 blob-container     │ service-principal │       │        ┃

┃                         │           │ 🌀 kubernetes-cluster │ access-token      │       │        ┃

┃                         │           │ 🐳 docker-registry    │                   │       │        ┃

┗━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━┷━━━━━━━┷━━━━━━━━┛

zenml service-connector register azure-skypilot-vm -t azure --auth-method access-token --auto-configure

This will automatically configure the service connector with the appropriate credentials and permissions to provision VMs on Azure. You can then use the service connector to configure your registered VM Orchestrator stack component using the following commands:

# Register the orchestrator

zenml orchestrator register <ORCHESTRATOR_NAME> --flavor vm_azure

# Connect the orchestrator to the service connector

zenml orchestrator connect <ORCHESTRATOR_NAME> --connector azure-skypilot-vm

# Register and activate a stack with the new orchestrator

zenml stack register <STACK_NAME> -o <ORCHESTRATOR_NAME> ... --set