APIM Samples Codespaces Quickstart

January 6, 2026 · View on GitHub

✅ What's ready for you

Your Codespace has automatically set up:

  • Python virtual environment (.venv)
  • Azure CLI
  • All project dependencies
  • VS Code extensions (still installing? Wait ~1 minute for the status bar to finish)

🎯 Next: Authenticate with Azure

Open a terminal and log in:

az login

Or, if you need to specify a tenant:

az login --tenant <your-tenant-id>

This is required before you can deploy any infrastructure or samples.


🚀 Ready to go?

Start with a sample

  1. Open any notebook in infrastructure/ or samples/
  2. If prompted, select the Python (.venv) kernel
  3. Run the cells

Each folder has a README.md with full deployment steps.

Use the Developer CLI

bash start.sh

📋 If something isn't working

IssueSolution
Virtual environment not activeNew terminals auto-activate. If you see no (.venv) prefix, run: source .venv/bin/activate
Extensions not readyWait for VS Code status bar to stop spinning (~1 minute)
Need to verify setupRun: python setup/verify_local_setup.py
Something elseCheck .devcontainer/post-start-setup.sh for startup commands

Ready? Start with the README in the root folder for the big picture!