Skip to content

Environment Variables

Azure Services (from azd up)

These are set automatically when you run azd up.

Variable Description Example
AZURE_AI_PROJECT_ENDPOINT Foundry project endpoint https://....services.ai.azure.com/api/projects/...
AZURE_AI_AGENT_ENDPOINT Foundry agent endpoint (same as project endpoint)
AZURE_OPENAI_ENDPOINT Azure OpenAI endpoint https://....openai.azure.com/
AZURE_AI_SEARCH_ENDPOINT AI Search endpoint https://....search.windows.net
AZURE_CHAT_MODEL GPT model deployment name gpt-4.1-mini
AZURE_EMBEDDING_MODEL Embedding model deployment text-embedding-ada-002

Project Settings (in scripts/.env)

Set these manually after infrastructure deployment.

Variable Description Example
FABRIC_WORKSPACE_ID Fabric workspace GUID a1b2c3d4-...
INDUSTRY Industry for data generation Retail
USECASE Use case description Sales analysis and customer insights
DATA_SIZE Dataset size small, medium, large
DATA_FOLDER Path to generated data data/retail_20260430_012249
SOLUTION_NAME Solution identifier miq-tutorial

Agent Settings

Variable Description Set By
FOUNDRY_AGENT_ID Created agent ID create_agent.py
FABRIC_DATA_AGENT_ID Fabric Data Agent ID 02_create_fabric_items.py
AGENT_NAME Agent name for API Manual

Deployment Settings

Variable Description Default
DEPLOY_WEB_APP Enable App Service deployment false
DEPLOY_FABRIC Auto-create Fabric workspace false
NETWORK_ISOLATION Enable private networking false