[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BFXMDA70Q4P5KZDKY97YF":3,"skill-same:01M69BFXMDA70Q4P5KZDKY97YF":201},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":17,"ownerHtmlUrl":51,"ownerBlogUrl":52,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M69BFXMDA70Q4P5KZDKY97YF","deploy-agent-aca-dev","Azure容器应用Agent部署","AI-led deployment of the local-LLM sample agent (Ollama + Microsoft Entra Agent ID sidecar) to Azure Container Apps. Use when the user wants to deploy sidecar\u002Fdev to ACA, run the agent on Azure without AWS\u002FGCP, host Ollama on Container Apps, promote the docker-compose local-dev stack from ClientSecret to SignedAssertionFromManagedIdentity (secretless), or debug AADSTS65001\u002FAADSTS50011\u002FImagePullBackOff\u002FOllama OOM errors in this specific deployment. NOT for AWS Bedrock (use deploy-agent-aca-aws) and NOT for local docker-compose on a laptop (use sidecar\u002Fdev directly). Chains to entra-agent-id-setup for the Blueprint + Agent Identity + Client SPA objects.","由 AI 主导将本地 LLM 示例 agent（Ollama + Microsoft Entra Agent ID sidecar）部署到 Azure Container Apps。当用户想要将 sidecar\u002Fdev 部署到 ACA、在 Azure 上运行 agent 而不使用 AWS\u002FGCP、在 Container Apps 上托管 Ollama、将 docker-compose 本地开发栈从 ClientSecret 升级为 SignedAssertionFromManagedIdentity（无密钥），或调试此特定部署中的 AADSTS65001\u002FAADSTS50011\u002FImagePullBackOff\u002FOllama OOM 错误时使用。不适用于 AWS Bedrock（使用 deploy-agent-aca-aws），也不适用于笔记本电脑上的本地 docker-compose（直接使用 sidecar\u002Fdev）。链接到 entra-agent-id-setup 以设置 Blueprint + Agent Identity + Client SPA 对象。","microsoft\u002Fentra-agentid-samples","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69BFR215QBKQVG4EP8577MV",15,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT9F3Z67AB1M6CHA8X75WW","云架构师","PROFESSION","适用职业",[31,32,33,10,34,35,36,37,38,39,40],"deploy","deploy agent aca dev","docker","identity","entra agent id","setup","debug","azure","deployment","run","2026-11-10 10:12:30",false,"---\nname: deploy-agent-aca-dev\ndescription: 'AI-led deployment of the local-LLM sample agent (Ollama + Microsoft Entra Agent ID sidecar) to Azure Container Apps. Use when the user wants to deploy sidecar\u002Fdev to ACA, run the agent on Azure without AWS\u002FGCP, host Ollama on Container Apps, promote the docker-compose local-dev stack from ClientSecret to SignedAssertionFromManagedIdentity (secretless), or debug AADSTS65001\u002FAADSTS50011\u002FImagePullBackOff\u002FOllama OOM errors in this specific deployment. NOT for AWS Bedrock (use deploy-agent-aca-aws) and NOT for local docker-compose on a laptop (use sidecar\u002Fdev directly). Chains to entra-agent-id-setup for the Blueprint + Agent Identity + Client SPA objects.'\n---\n\n# Deploy Local-LLM Agent to Azure Container Apps (AI-Led)\n\nEnd-to-end, secretless deployment of `sidecar\u002Fdev` (Ollama + Entra Agent ID sidecar) to Azure Container Apps. One federation chain (MI → Entra Blueprint), no second cloud.\n\n**Canonical tutorial:** [sidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md](..\u002F..\u002F..\u002Fsidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md). This skill is the automated, fast-path counterpart.\n\n## When to Use\n\n- User says: \"deploy dev to ACA\", \"deploy the local LLM agent to Azure\", \"Ollama on Container Apps\", \"ship sidecar\u002Fdev to Azure\"\n- User wants a self-contained demo in a tenant where AWS\u002FGCP aren't options (airgapped, regulated, customer-owned)\n- User hits `AADSTS65001` on OBO sign-in — see [references\u002Fpost-deploy-manual-steps.md](.\u002Freferences\u002Fpost-deploy-manual-steps.md)\n- User hits `AADSTS50011: redirect URI mismatch` — same reference\n- User hits Ollama `out of memory` or `ImagePullBackOff` — see [references\u002Follama-on-aca.md](.\u002Freferences\u002Follama-on-aca.md)\n- User asks \"can I run this without Bedrock \u002F Vertex?\"\n\n## Do NOT Use When\n\n- **AWS Bedrock deployment** — use `deploy-agent-aca-aws`\n- **GCP Vertex AI deployment** — pending skill `deploy-agent-aca-gcp`\n- **Local laptop docker-compose** — use `sidecar\u002Fdev\u002F` directly with `docker compose up`, no federation needed\n\n## Prerequisites (verify BEFORE running anything)\n\n1. **Entra role** on signing-in user — one of: `Global Administrator`, `Agent ID Administrator`, `Agent ID Developer`. See [entra-agent-id-setup](..\u002Fentra-agent-id-setup\u002FSKILL.md).\n2. **Tooling**: `az` ≥ 2.60, `pwsh` 7.4+, `Microsoft.Graph.*` 2.35+ (install: `Install-Module Microsoft.Graph.Authentication, Microsoft.Graph.Beta.Applications -Scope CurrentUser`), and one of: `docker buildx` for `linux\u002Famd64` **OR** `az acr build` (no local Docker needed — see Step 4).\n3. **Tenant-confirmed preflight** — ALWAYS confirm tenant ID + subscription ID with the user before any `az` command that mutates resources.\n4. **Entra Agent ID base objects** exist — Blueprint, Agent Identity, Client SPA. If not, run the [entra-agent-id-setup](..\u002Fentra-agent-id-setup\u002FSKILL.md) skill first.\n\n> [!NOTE]\n> **Windows \u002F PowerShell users:** This skill's scripts and orchestrator are bash. If running from PowerShell without WSL or Git Bash:\n> - `source file` → `. file` or set `$env:VAR` individually\n> - `envsubst` → PowerShell `-replace` operators or `(Get-Content template) -replace '\\$\\{VAR\\}', $value`\n> - `bash script.sh` → translate each `az` \u002F `pwsh` command into the PowerShell session directly\n> - `docker buildx build --push` → `az acr build` for `llm-agent` and `weather-api` (but **not** for baked Ollama — see Step 4)\n> - `az ad app update --set spa='{...}'` may fail with JSON escaping — use `az rest --method PATCH` instead (see Step 6)\n\n## SKU decisions — ask the user first\n\nBefore running any `az` command that provisions resources, confirm each SKU choice **with the user**. Do not silently default to the cheapest tier. The orchestrator requires each SKU variable to be set and fails hard if any is missing. Full tradeoff matrix: [references\u002Fsku-sizing.md](.\u002Freferences\u002Fsku-sizing.md).\n\n| Variable | Ask | Demo default | Silent-failure mode if chosen wrong |\n|---|---|---|---|\n| `ACR_SKU` | `Basic` \u002F `Standard` \u002F `Premium` | `Basic` | Ollama image ~1 GB; Basic fills up with 10 variants |\n| `ACA_WORKLOAD_PROFILE` | `Consumption` \u002F `Dedicated-D4` \u002F GPU | `Consumption` | 1.5B model on Consumption CPU = 5–20 s per answer |\n| `LOGS_DESTINATION` | `none` \u002F `log-analytics` | `log-analytics` | `none` hides Ollama OOM crashes and sidecar auth errors |\n| `MIN_REPLICAS` \u002F `MAX_REPLICAS` | counts | `1` \u002F `1` | `min=0` = model reloads into RAM on every cold start |\n| `OLLAMA_MODEL` | `qwen2.5:1.5b` \u002F `qwen2.5:7b` \u002F `llama3.2:1b` | `qwen2.5:1.5b` | 7B model on Consumption times out ACA ingress |\n| `OLLAMA_IMAGE_STRATEGY` | `baked` \u002F `runtime-pull` | `baked` | `runtime-pull` = 30 s first-request delay |\n| `OLLAMA_CPU` \u002F `OLLAMA_MEMORY` | see model-to-sizing table | `0.75` \u002F `1.5Gi` | Undersized memory → Ollama OOM. **`qwen2.5:3b` needs 2.5 Gi (requires Dedicated-D4+)**. See [sku-sizing.md §7](.\u002Freferences\u002Fsku-sizing.md). |\n\n**When invoking this skill, explicitly state the defaults to the user and ask them to confirm or override — do not assume.**\n\n## Procedure\n\n### Step 0 — Confirm account and populate variables\n\nAsk the user to confirm: tenant ID, subscription ID, **resource group name**, **location**, SKU choices (including `OLLAMA_CPU` \u002F `OLLAMA_MEMORY` — match to model), Ollama model. Then:\n\n```bash\ncp .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fdeploy-vars.sh.template \u002Ftmp\u002Fdeploy-vars.sh\n# edit \u002Ftmp\u002Fdeploy-vars.sh with confirmed values\nsource \u002Ftmp\u002Fdeploy-vars.sh\naz login --tenant \"$TENANT_ID\" && az account set --subscription \"$SUBSCRIPTION_ID\"\n```\n\n### Step 1 — Create Entra objects (Blueprint, Agent, Client SPA)\n\nDelegate to [entra-agent-id-setup](..\u002Fentra-agent-id-setup\u002FSKILL.md). Capture `BLUEPRINT_APP_ID`, `AGENT_CLIENT_ID`, `CLIENT_SPA_APP_ID` into `\u002Ftmp\u002Fdeploy-vars.sh`.\n\n> [!WARNING]\n> Run `Connect-MgGraph` in an **interactive pwsh session**, not via `pwsh -Command \"Connect-MgGraph ...\"` subshell. The WAM authentication popup hides behind other windows in a subshell and silently times out.\n\nConfigure the Blueprint for OBO using the ACA-compatible PowerShell script:\n\n```bash\npwsh -NoProfile -File .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fsetup-obo-blueprint-for-aca.ps1 \\\n  -BlueprintAppId \"$BLUEPRINT_APP_ID\" \\\n  -ClientSpaAppId \"$CLIENT_SPA_APP_ID\" \\\n  -AgentAppId \"$AGENT_CLIENT_ID\" \\\n  -TenantId \"$TENANT_ID\"\n```\n\n### Step 2 — Azure infrastructure (RG, ACR, env, container app skeleton)\n\nSee tutorial [§6](..\u002F..\u002F..\u002Fsidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md#6-phase-2--create-the-azure-infrastructure). Uses SKU variables. Capture `MI_OBJECT_ID` and `APP_FQDN`, append to `\u002Ftmp\u002Fdeploy-vars.sh`. Grant `AcrPull` to the MI.\n\n> [!NOTE]\n> Adding a **Dedicated-D4 workload profile** can take **20+ minutes** to provision. This is normal — do not cancel.\n> If Azure Policy enforces tags on resource groups (e.g., `Owner`, `MonthlyCost`), add them during `az group create` or use a pre-existing RG.\n\n### Step 3 — Federate MI to Blueprint (only federation chain)\n\nSingle Graph call — see tutorial [§7](..\u002F..\u002F..\u002Fsidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md#7-phase-3--federate-the-managed-identity-to-the-blueprint). Subject = `$MI_OBJECT_ID`, audience = `api:\u002F\u002FAzureADTokenExchange`.\n\n**Unlike the AWS skill, there is no Step 4 (AWS federation).** The local LLM needs no external cloud.\n\n### Step 4 — Build and push images\n\nTutorial [§8](..\u002F..\u002F..\u002Fsidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md#8-phase-4--build-and-push-container-images). Three images: `llm-agent`, `weather-api`, `ollama` (baked) — or two if using `runtime-pull`.\n\n**Option A — Local Docker (`docker buildx`):**\n\nRequires Docker Desktop running. Works for all images including baked Ollama.\n\n**Option B — Remote build (`az acr build`):**\n\nNo Docker Desktop needed. Works for `llm-agent` and `weather-api` only.\n\n```bash\naz acr build --registry \"$ACR_NAME\" --image agent-id-dev\u002Fllm-agent:1.0.0 --platform linux\u002Famd64 sidecar\u002Fdev\u002F\naz acr build --registry \"$ACR_NAME\" --image agent-id-dev\u002Fweather-api:1.0.0 --platform linux\u002Famd64 sidecar\u002Fweather-api\u002F\n```\n\n> [!NOTE]\n> `UnicodeEncodeError: 'charmap' codec can't encode characters` from `az acr build` on Windows is **cosmetic** (colorama\u002Fcp1252 encoding). The build succeeds — ignore the error.\n\n> [!IMPORTANT]\n> **Baked Ollama images cannot be built via `az acr build`** — the `RUN ollama serve & ollama pull ...` step requires a running Docker daemon that ACR Build does not provide. The image silently fails to appear in ACR. If Docker Desktop is unavailable, switch to `OLLAMA_IMAGE_STRATEGY=runtime-pull`.\n\nIf `OLLAMA_IMAGE_STRATEGY=baked` (Option A only):\n\n```bash\nbash .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fbuild-ollama-image.sh\n```\n\n### Step 5 — Deploy the multi-container app\n\n```bash\nenvsubst \u003C .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fcontainerapp.yaml.template > \u002Ftmp\u002Fcontainerapp.yaml\naz containerapp update -g \"$RG\" -n \"$APP_NAME\" --yaml \u002Ftmp\u002Fcontainerapp.yaml\n```\n\n### Step 6 — Post-deploy wiring (REQUIRED — execute immediately after Step 5)\n\n> [!IMPORTANT]\n> The AI agent **MUST** execute both sub-steps below. Do NOT skip or leave for the user. These are automatable — `APP_FQDN` is known from Step 2, and all app IDs are known from Step 1.\n\nTwo things that cannot be done before deploy:\n\n1. **Add deployed SPA redirect URI** — `bash .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fadd-spa-redirect-uri.sh`\n\n   > [!WARNING]\n   > On PowerShell, `az ad app update --set spa='{...}'` fails with `Property spa in payload has a value that does not match schema` due to JSON escaping. Use this workaround instead:\n   > ```powershell\n   > $body = @{ spa = @{ redirectUris = @(\"http:\u002F\u002Flocalhost:3003\", \"https:\u002F\u002F$env:APP_FQDN\u002F\") } } | ConvertTo-Json -Depth 3\n   > az rest --method PATCH --url \"https:\u002F\u002Fgraph.microsoft.com\u002Fv1.0\u002Fapplications(appId='$env:CLIENT_SPA_APP_ID')\" --body $body --headers \"Content-Type=application\u002Fjson\"\n   > ```\n\n2. **Grant Agent → Graph delegated `User.Read`** (fixes `AADSTS65001`):\n\n   ```bash\n   pwsh -NoProfile -File .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fgrant-agent-obo-consent.ps1 \\\n     -AgentAppId \"$AGENT_CLIENT_ID\" -TenantId \"$TENANT_ID\"\n   ```\n\nFull rationale: [references\u002Fpost-deploy-manual-steps.md](.\u002Freferences\u002Fpost-deploy-manual-steps.md).\n\n### Step 7 — Verify\n\nTutorial [§11](..\u002F..\u002F..\u002Fsidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md#11-phase-7--verify). `ollama_available: true` in status; autonomous flow returns Qwen-generated answer; OBO works via MSAL popup.\n\n## One-Shot Orchestrator\n\nIf all prerequisites are in place and SKU variables are confirmed:\n\n```bash\nbash .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fdeploy-aca-dev.sh\n```\n\nIdempotent. Invokes steps 2–5 in order. Steps 0, 1, 6 require human decisions and remain manual.\n\n## Key Artifacts\n\nPersisted in `\u002Ftmp\u002Fdeploy-vars.sh`:\n\n| Variable | Source |\n|---|---|\n| `TENANT_ID`, `SUBSCRIPTION_ID` | User |\n| `ACR_SKU`, `ACA_WORKLOAD_PROFILE`, `LOGS_DESTINATION`, `MIN_REPLICAS`, `MAX_REPLICAS` | User (SKU decisions) |\n| `OLLAMA_MODEL`, `OLLAMA_IMAGE_STRATEGY` | User |\n| `OLLAMA_CPU`, `OLLAMA_MEMORY` | User (match to model — see [sku-sizing.md §7](.\u002Freferences\u002Fsku-sizing.md)) |\n| `BLUEPRINT_APP_ID`, `AGENT_CLIENT_ID`, `CLIENT_SPA_APP_ID` | Step 1 |\n| `MI_OBJECT_ID`, `APP_FQDN` | Step 2 |\n\n**No client secrets, no external-cloud credentials** anywhere.\n\n## References\n\n- [Architecture summary](.\u002Freferences\u002Farchitecture.md)\n- [SKU and sizing decisions](.\u002Freferences\u002Fsku-sizing.md)\n- [Ollama on Azure Container Apps](.\u002Freferences\u002Follama-on-aca.md)\n- [Post-deploy manual steps (SPA URI + OBO consent)](.\u002Freferences\u002Fpost-deploy-manual-steps.md)\n- [Troubleshooting matrix](.\u002Freferences\u002Ftroubleshooting.md)\n- [Full tutorial](..\u002F..\u002F..\u002Fsidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md)\n","# Deploy Local-LLM Agent to Azure Container Apps (AI-Led)\n\nEnd-to-end, secretless deployment of `sidecar\u002Fdev` (Ollama + Entra Agent ID sidecar) to Azure Container Apps. One federation chain (MI → Entra Blueprint), no second cloud.\n\n**Canonical tutorial:** [sidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md](..\u002F..\u002F..\u002Fsidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md). This skill is the automated, fast-path counterpart.\n\n## When to Use\n\n- User says: \"deploy dev to ACA\", \"deploy the local LLM agent to Azure\", \"Ollama on Container Apps\", \"ship sidecar\u002Fdev to Azure\"\n- User wants a self-contained demo in a tenant where AWS\u002FGCP aren't options (airgapped, regulated, customer-owned)\n- User hits `AADSTS65001` on OBO sign-in — see [references\u002Fpost-deploy-manual-steps.md](.\u002Freferences\u002Fpost-deploy-manual-steps.md)\n- User hits `AADSTS50011: redirect URI mismatch` — same reference\n- User hits Ollama `out of memory` or `ImagePullBackOff` — see [references\u002Follama-on-aca.md](.\u002Freferences\u002Follama-on-aca.md)\n- User asks \"can I run this without Bedrock \u002F Vertex?\"\n\n## Do NOT Use When\n\n- **AWS Bedrock deployment** — use `deploy-agent-aca-aws`\n- **GCP Vertex AI deployment** — pending skill `deploy-agent-aca-gcp`\n- **Local laptop docker-compose** — use `sidecar\u002Fdev\u002F` directly with `docker compose up`, no federation needed\n\n## Prerequisites (verify BEFORE running anything)\n\n1. **Entra role** on signing-in user — one of: `Global Administrator`, `Agent ID Administrator`, `Agent ID Developer`. See [entra-agent-id-setup](..\u002Fentra-agent-id-setup\u002FSKILL.md).\n2. **Tooling**: `az` ≥ 2.60, `pwsh` 7.4+, `Microsoft.Graph.*` 2.35+ (install: `Install-Module Microsoft.Graph.Authentication, Microsoft.Graph.Beta.Applications -Scope CurrentUser`), and one of: `docker buildx` for `linux\u002Famd64` **OR** `az acr build` (no local Docker needed — see Step 4).\n3. **Tenant-confirmed preflight** — ALWAYS confirm tenant ID + subscription ID with the user before any `az` command that mutates resources.\n4. **Entra Agent ID base objects** exist — Blueprint, Agent Identity, Client SPA. If not, run the [entra-agent-id-setup](..\u002Fentra-agent-id-setup\u002FSKILL.md) skill first.\n\n> [!NOTE]\n> **Windows \u002F PowerShell users:** This skill's scripts and orchestrator are bash. If running from PowerShell without WSL or Git Bash:\n> - `source file` → `. file` or set `$env:VAR` individually\n> - `envsubst` → PowerShell `-replace` operators or `(Get-Content template) -replace '\\$\\{VAR\\}', $value`\n> - `bash script.sh` → translate each `az` \u002F `pwsh` command into the PowerShell session directly\n> - `docker buildx build --push` → `az acr build` for `llm-agent` and `weather-api` (but **not** for baked Ollama — see Step 4)\n> - `az ad app update --set spa='{...}'` may fail with JSON escaping — use `az rest --method PATCH` instead (see Step 6)\n\n## SKU decisions — ask the user first\n\nBefore running any `az` command that provisions resources, confirm each SKU choice **with the user**. Do not silently default to the cheapest tier. The orchestrator requires each SKU variable to be set and fails hard if any is missing. Full tradeoff matrix: [references\u002Fsku-sizing.md](.\u002Freferences\u002Fsku-sizing.md).\n\n| Variable | Ask | Demo default | Silent-failure mode if chosen wrong |\n|---|---|---|---|\n| `ACR_SKU` | `Basic` \u002F `Standard` \u002F `Premium` | `Basic` | Ollama image ~1 GB; Basic fills up with 10 variants |\n| `ACA_WORKLOAD_PROFILE` | `Consumption` \u002F `Dedicated-D4` \u002F GPU | `Consumption` | 1.5B model on Consumption CPU = 5–20 s per answer |\n| `LOGS_DESTINATION` | `none` \u002F `log-analytics` | `log-analytics` | `none` hides Ollama OOM crashes and sidecar auth errors |\n| `MIN_REPLICAS` \u002F `MAX_REPLICAS` | counts | `1` \u002F `1` | `min=0` = model reloads into RAM on every cold start |\n| `OLLAMA_MODEL` | `qwen2.5:1.5b` \u002F `qwen2.5:7b` \u002F `llama3.2:1b` | `qwen2.5:1.5b` | 7B model on Consumption times out ACA ingress |\n| `OLLAMA_IMAGE_STRATEGY` | `baked` \u002F `runtime-pull` | `baked` | `runtime-pull` = 30 s first-request delay |\n| `OLLAMA_CPU` \u002F `OLLAMA_MEMORY` | see model-to-sizing table | `0.75` \u002F `1.5Gi` | Undersized memory → Ollama OOM. **`qwen2.5:3b` needs 2.5 Gi (requires Dedicated-D4+)**. See [sku-sizing.md §7](.\u002Freferences\u002Fsku-sizing.md). |\n\n**When invoking this skill, explicitly state the defaults to the user and ask them to confirm or override — do not assume.**\n\n## Procedure\n\n### Step 0 — Confirm account and populate variables\n\nAsk the user to confirm: tenant ID, subscription ID, **resource group name**, **location**, SKU choices (including `OLLAMA_CPU` \u002F `OLLAMA_MEMORY` — match to model), Ollama model. Then:\n\n```bash\ncp .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fdeploy-vars.sh.template \u002Ftmp\u002Fdeploy-vars.sh\n# edit \u002Ftmp\u002Fdeploy-vars.sh with confirmed values\nsource \u002Ftmp\u002Fdeploy-vars.sh\naz login --tenant \"$TENANT_ID\" && az account set --subscription \"$SUBSCRIPTION_ID\"\n```\n\n### Step 1 — Create Entra objects (Blueprint, Agent, Client SPA)\n\nDelegate to [entra-agent-id-setup](..\u002Fentra-agent-id-setup\u002FSKILL.md). Capture `BLUEPRINT_APP_ID`, `AGENT_CLIENT_ID`, `CLIENT_SPA_APP_ID` into `\u002Ftmp\u002Fdeploy-vars.sh`.\n\n> [!WARNING]\n> Run `Connect-MgGraph` in an **interactive pwsh session**, not via `pwsh -Command \"Connect-MgGraph ...\"` subshell. The WAM authentication popup hides behind other windows in a subshell and silently times out.\n\nConfigure the Blueprint for OBO using the ACA-compatible PowerShell script:\n\n```bash\npwsh -NoProfile -File .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fsetup-obo-blueprint-for-aca.ps1 \\\n  -BlueprintAppId \"$BLUEPRINT_APP_ID\" \\\n  -ClientSpaAppId \"$CLIENT_SPA_APP_ID\" \\\n  -AgentAppId \"$AGENT_CLIENT_ID\" \\\n  -TenantId \"$TENANT_ID\"\n```\n\n### Step 2 — Azure infrastructure (RG, ACR, env, container app skeleton)\n\nSee tutorial [§6](..\u002F..\u002F..\u002Fsidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md#6-phase-2--create-the-azure-infrastructure). Uses SKU variables. Capture `MI_OBJECT_ID` and `APP_FQDN`, append to `\u002Ftmp\u002Fdeploy-vars.sh`. Grant `AcrPull` to the MI.\n\n> [!NOTE]\n> Adding a **Dedicated-D4 workload profile** can take **20+ minutes** to provision. This is normal — do not cancel.\n> If Azure Policy enforces tags on resource groups (e.g., `Owner`, `MonthlyCost`), add them during `az group create` or use a pre-existing RG.\n\n### Step 3 — Federate MI to Blueprint (only federation chain)\n\nSingle Graph call — see tutorial [§7](..\u002F..\u002F..\u002Fsidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md#7-phase-3--federate-the-managed-identity-to-the-blueprint). Subject = `$MI_OBJECT_ID`, audience = `api:\u002F\u002FAzureADTokenExchange`.\n\n**Unlike the AWS skill, there is no Step 4 (AWS federation).** The local LLM needs no external cloud.\n\n### Step 4 — Build and push images\n\nTutorial [§8](..\u002F..\u002F..\u002Fsidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md#8-phase-4--build-and-push-container-images). Three images: `llm-agent`, `weather-api`, `ollama` (baked) — or two if using `runtime-pull`.\n\n**Option A — Local Docker (`docker buildx`):**\n\nRequires Docker Desktop running. Works for all images including baked Ollama.\n\n**Option B — Remote build (`az acr build`):**\n\nNo Docker Desktop needed. Works for `llm-agent` and `weather-api` only.\n\n```bash\naz acr build --registry \"$ACR_NAME\" --image agent-id-dev\u002Fllm-agent:1.0.0 --platform linux\u002Famd64 sidecar\u002Fdev\u002F\naz acr build --registry \"$ACR_NAME\" --image agent-id-dev\u002Fweather-api:1.0.0 --platform linux\u002Famd64 sidecar\u002Fweather-api\u002F\n```\n\n> [!NOTE]\n> `UnicodeEncodeError: 'charmap' codec can't encode characters` from `az acr build` on Windows is **cosmetic** (colorama\u002Fcp1252 encoding). The build succeeds — ignore the error.\n\n> [!IMPORTANT]\n> **Baked Ollama images cannot be built via `az acr build`** — the `RUN ollama serve & ollama pull ...` step requires a running Docker daemon that ACR Build does not provide. The image silently fails to appear in ACR. If Docker Desktop is unavailable, switch to `OLLAMA_IMAGE_STRATEGY=runtime-pull`.\n\nIf `OLLAMA_IMAGE_STRATEGY=baked` (Option A only):\n\n```bash\nbash .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fbuild-ollama-image.sh\n```\n\n### Step 5 — Deploy the multi-container app\n\n```bash\nenvsubst \u003C .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fcontainerapp.yaml.template > \u002Ftmp\u002Fcontainerapp.yaml\naz containerapp update -g \"$RG\" -n \"$APP_NAME\" --yaml \u002Ftmp\u002Fcontainerapp.yaml\n```\n\n### Step 6 — Post-deploy wiring (REQUIRED — execute immediately after Step 5)\n\n> [!IMPORTANT]\n> The AI agent **MUST** execute both sub-steps below. Do NOT skip or leave for the user. These are automatable — `APP_FQDN` is known from Step 2, and all app IDs are known from Step 1.\n\nTwo things that cannot be done before deploy:\n\n1. **Add deployed SPA redirect URI** — `bash .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fadd-spa-redirect-uri.sh`\n\n   > [!WARNING]\n   > On PowerShell, `az ad app update --set spa='{...}'` fails with `Property spa in payload has a value that does not match schema` due to JSON escaping. Use this workaround instead:\n   > ```powershell\n   > $body = @{ spa = @{ redirectUris = @(\"http:\u002F\u002Flocalhost:3003\", \"https:\u002F\u002F$env:APP_FQDN\u002F\") } } | ConvertTo-Json -Depth 3\n   > az rest --method PATCH --url \"https:\u002F\u002Fgraph.microsoft.com\u002Fv1.0\u002Fapplications(appId='$env:CLIENT_SPA_APP_ID')\" --body $body --headers \"Content-Type=application\u002Fjson\"\n   > ```\n\n2. **Grant Agent → Graph delegated `User.Read`** (fixes `AADSTS65001`):\n\n   ```bash\n   pwsh -NoProfile -File .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fgrant-agent-obo-consent.ps1 \\\n     -AgentAppId \"$AGENT_CLIENT_ID\" -TenantId \"$TENANT_ID\"\n   ```\n\nFull rationale: [references\u002Fpost-deploy-manual-steps.md](.\u002Freferences\u002Fpost-deploy-manual-steps.md).\n\n### Step 7 — Verify\n\nTutorial [§11](..\u002F..\u002F..\u002Fsidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md#11-phase-7--verify). `ollama_available: true` in status; autonomous flow returns Qwen-generated answer; OBO works via MSAL popup.\n\n## One-Shot Orchestrator\n\nIf all prerequisites are in place and SKU variables are confirmed:\n\n```bash\nbash .claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fdeploy-aca-dev.sh\n```\n\nIdempotent. Invokes steps 2–5 in order. Steps 0, 1, 6 require human decisions and remain manual.\n\n## Key Artifacts\n\nPersisted in `\u002Ftmp\u002Fdeploy-vars.sh`:\n\n| Variable | Source |\n|---|---|\n| `TENANT_ID`, `SUBSCRIPTION_ID` | User |\n| `ACR_SKU`, `ACA_WORKLOAD_PROFILE`, `LOGS_DESTINATION`, `MIN_REPLICAS`, `MAX_REPLICAS` | User (SKU decisions) |\n| `OLLAMA_MODEL`, `OLLAMA_IMAGE_STRATEGY` | User |\n| `OLLAMA_CPU`, `OLLAMA_MEMORY` | User (match to model — see [sku-sizing.md §7](.\u002Freferences\u002Fsku-sizing.md)) |\n| `BLUEPRINT_APP_ID`, `AGENT_CLIENT_ID`, `CLIENT_SPA_APP_ID` | Step 1 |\n| `MI_OBJECT_ID`, `APP_FQDN` | Step 2 |\n\n**No client secrets, no external-cloud credentials** anywhere.\n\n## References\n\n- [Architecture summary](.\u002Freferences\u002Farchitecture.md)\n- [SKU and sizing decisions](.\u002Freferences\u002Fsku-sizing.md)\n- [Ollama on Azure Container Apps](.\u002Freferences\u002Follama-on-aca.md)\n- [Post-deploy manual steps (SPA URI + OBO consent)](.\u002Freferences\u002Fpost-deploy-manual-steps.md)\n- [Troubleshooting matrix](.\u002Freferences\u002Ftroubleshooting.md)\n- [Full tutorial](..\u002F..\u002F..\u002Fsidecar\u002Fdev\u002Fdeploy-local-llm-agent-sidecar-container-apps.md)\n",{"name":5,"description":7},"main","ce211acbb1781de04882eda398e7d5187f6832d1",".claude\u002Fskills\u002Fdeploy-agent-aca-dev",8,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-08-06 00:26:28",{"source":9,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add microsoft\u002Fentra-agentid-samples --skill deploy-agent-aca-dev",{"tool":61,"command":62},"bunx","bunx skills add microsoft\u002Fentra-agentid-samples --skill deploy-agent-aca-dev",{"tool":64,"command":65},"pnpm","pnpm dlx skills add microsoft\u002Fentra-agentid-samples --skill deploy-agent-aca-dev","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002FSKILL.md",true,[69,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163,167,173,177,181,185,189,193,197],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"apply.md","REFERENCE","参考文档",15406,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Fapply.md",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"attachments.md",4170,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Fattachments.md",{"path":80,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":81,"sourceHtmlUrl":82},"backends\u002Fclaude_ai_mcp.md",1081,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Fbackends\u002Fclaude_ai_mcp.md",{"path":84,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":85,"sourceHtmlUrl":86},"backends\u002Fmail-source-probe.md",3429,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Fbackends\u002Fmail-source-probe.md",{"path":88,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":89,"sourceHtmlUrl":90},"backends\u002Fmaildir.md",587,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Fbackends\u002Fmaildir.md",{"path":92,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":93,"sourceHtmlUrl":94},"backends\u002Foauth_curl.md",1320,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Fbackends\u002Foauth_curl.md",{"path":96,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":97,"sourceHtmlUrl":98},"candidate-listing.md",9891,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Fcandidate-listing.md",{"path":100,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":101,"sourceHtmlUrl":102},"duplicate-search.md",11230,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Fduplicate-search.md",{"path":104,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":105,"sourceHtmlUrl":106},"existing-tracker-dedup.md",7627,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Fexisting-tracker-dedup.md",{"path":108,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":109,"sourceHtmlUrl":110},"fix-already-public.md",5568,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Ffix-already-public.md",{"path":112,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":113,"sourceHtmlUrl":114},"outcomes\u002Fack-auto.md",915,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Foutcomes\u002Fack-auto.md",{"path":116,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":117,"sourceHtmlUrl":118},"outcomes\u002Fack-manual.md",793,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Foutcomes\u002Fack-manual.md",{"path":120,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":121,"sourceHtmlUrl":122},"outcomes\u002Fack-none.md",809,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Foutcomes\u002Fack-none.md",{"path":124,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":125,"sourceHtmlUrl":126},"outcomes\u002Fbundle.md",1028,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Foutcomes\u002Fbundle.md",{"path":128,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":129,"sourceHtmlUrl":130},"outcomes\u002Fconverged.md",1045,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Foutcomes\u002Fconverged.md",{"path":132,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":133,"sourceHtmlUrl":134},"outcomes\u002Fcredit-field.md",3115,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Foutcomes\u002Fcredit-field.md",{"path":136,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":137,"sourceHtmlUrl":138},"outcomes\u002Fmailing-thread.md",1721,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Foutcomes\u002Fmailing-thread.md",{"path":140,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":141,"sourceHtmlUrl":142},"outcomes\u002Fredact-before-extract.md",4076,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Foutcomes\u002Fredact-before-extract.md",{"path":144,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":145,"sourceHtmlUrl":146},"references\u002Farchitecture.md",1352,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Freferences\u002Farchitecture.md",{"path":148,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":149,"sourceHtmlUrl":150},"references\u002Follama-on-aca.md",3326,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Freferences\u002Follama-on-aca.md",{"path":152,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":153,"sourceHtmlUrl":154},"references\u002Fpost-deploy-manual-steps.md",2150,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Freferences\u002Fpost-deploy-manual-steps.md",{"path":156,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":157,"sourceHtmlUrl":158},"references\u002Fsku-sizing.md",5381,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Freferences\u002Fsku-sizing.md",{"path":160,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":161,"sourceHtmlUrl":162},"references\u002Ftroubleshooting.md",5267,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Freferences\u002Ftroubleshooting.md",{"path":164,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":165,"sourceHtmlUrl":166},"screening-and-proposal.md",23742,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Fscreening-and-proposal.md",{"path":168,"resourceType":169,"resourceTypeDesc":170,"sizeBytes":171,"sourceHtmlUrl":172},"scripts\u002Fadd-spa-redirect-uri.sh","SCRIPT","脚本",1117,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fadd-spa-redirect-uri.sh",{"path":174,"resourceType":169,"resourceTypeDesc":170,"sizeBytes":175,"sourceHtmlUrl":176},"scripts\u002Fbuild-ollama-image.sh",1965,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fbuild-ollama-image.sh",{"path":178,"resourceType":169,"resourceTypeDesc":170,"sizeBytes":179,"sourceHtmlUrl":180},"scripts\u002Fcontainerapp.yaml.template",2834,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fcontainerapp.yaml.template",{"path":182,"resourceType":169,"resourceTypeDesc":170,"sizeBytes":183,"sourceHtmlUrl":184},"scripts\u002Fdeploy-aca-dev.sh",8579,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fdeploy-aca-dev.sh",{"path":186,"resourceType":169,"resourceTypeDesc":170,"sizeBytes":187,"sourceHtmlUrl":188},"scripts\u002Fdeploy-vars.sh.template",3001,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fdeploy-vars.sh.template",{"path":190,"resourceType":169,"resourceTypeDesc":170,"sizeBytes":191,"sourceHtmlUrl":192},"scripts\u002Fgrant-agent-obo-consent.ps1",1599,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fgrant-agent-obo-consent.ps1",{"path":194,"resourceType":169,"resourceTypeDesc":170,"sizeBytes":195,"sourceHtmlUrl":196},"scripts\u002Fsetup-obo-blueprint-for-aca.ps1",2966,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-dev\u002Fscripts\u002Fsetup-obo-blueprint-for-aca.ps1",{"path":198,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":199,"sourceHtmlUrl":200},"tracker-backend.md",2778,"https:\u002F\u002Fgithub.com\u002Fapache\u002Fmagpie\u002Fblob\u002Fmain\u002Fplugins\u002Fmagpie-security\u002Fskills\u002Fissue-import\u002Ftracker-backend.md",[202,216,228,243],{"skillNo":203,"name":204,"nameZh":205,"description":206,"descriptionZh":207,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":208,"categories":209,"keywords":212,"publishedAt":41},"01M69BG5FWSASJKDQ4232N0HNF","teardown-agent-aca-dev","本地 LLM 智能体部署清理","AI-led teardown of the local-LLM (Ollama) sample agent deployment on Azure Container Apps created by deploy-agent-aca-dev. Use when the user wants to delete the dev sample ACA deployment, clean up the resource group, or optionally delete the Blueprint \u002F Agent Identity \u002F Client SPA. Defaults to DRY-RUN and keeps Entra objects unless the user explicitly opts in. NOT for local docker-compose (use `docker compose down -v`) and NOT for the AWS Bedrock variant (use teardown-agent-aca-aws).","由 AI 主导拆除由 deploy-agent-aca-dev 在 Azure Container Apps 上创建的本地 LLM（Ollama）示例智能体部署。当用户想要删除开发示例 ACA 部署、清理资源组，或可选删除 Blueprint \u002F Agent Identity \u002F Client SPA 时使用。默认采用 DRY-RUN（试运行）并保留 Entra 对象，除非用户明确选择加入。不适用于本地 docker-compose（使用 `docker compose down -v`），也不适用于 AWS Bedrock 变体（使用 teardown-agent-aca-aws）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fteardown-agent-aca-dev\u002FSKILL.md",[210,211],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[213,40,214,39,215,38,31,34,33],"teardown agent aca dev","delete","docker compose",{"skillNo":217,"name":218,"nameZh":219,"description":220,"descriptionZh":221,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":222,"categories":223,"keywords":226,"publishedAt":41},"01M69BG3F1RT6STV6GERQ8AK7Q","teardown-agent-aca-aws","AWS 智能体部署清理","AI-led teardown of the AWS Bedrock sample agent deployment on Azure Container Apps created by deploy-agent-aca-aws. Use when the user wants to delete the AWS sample ACA deployment, clean up the resource group, remove the AWS IAM role + OIDC provider, delete the intermediary Entra app, or optionally delete the Blueprint \u002F Agent Identity \u002F Client SPA. Defaults to DRY-RUN and keeps Entra\u002FAWS objects unless the user explicitly opts in. NOT for local docker-compose (no cloud resources to delete) and NOT for GCP (pending).","由 AI 主导拆除由 deploy-agent-aca-aws 在 Azure Container Apps 上创建的 AWS Bedrock 示例智能体部署。当用户想要删除 AWS 示例 ACA 部署、清理资源组、移除 AWS IAM 角色 + OIDC 提供程序、删除中间的 Entra 应用，或可选删除 Blueprint \u002F Agent Identity \u002F Client SPA 时使用。默认采用 DRY-RUN（试运行）并保留 Entra\u002FAWS 对象，除非用户明确选择加入。不适用于本地 docker-compose（无云资源可删除），也不适用于 GCP（待定）。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fteardown-agent-aca-aws\u002FSKILL.md",[224,225],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[227,31,40,214,39,38,34,33],"teardown agent aca aws",{"skillNo":229,"name":230,"nameZh":231,"description":232,"descriptionZh":233,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":234,"categories":235,"keywords":240,"publishedAt":41},"01M69BG0YJ1YKC9FYRNNXMY4ZF","entra-agent-id-setup","Entra Agent ID 配置","AI-guided setup for Microsoft Entra Agent ID. Use when the user wants to provision an Agent Identity Blueprint, Agent Identity, and OBO client app in an Entra tenant; when configuring the dev\u002FAWS\u002FGCP sidecar stack; when debugging 403 Authorization_RequestDenied on blueprint creation; when checking which Entra role is required (Global Admin \u002F Agent ID Administrator \u002F Agent ID Developer); when running Start-EntraAgentIDWorkflow \u002F setup-obo-client-app \u002F setup-obo-blueprint.","由 AI 引导设置 Microsoft Entra Agent ID。当用户想要在 Entra 租户中预配 Agent Identity Blueprint、Agent Identity 和 OBO 客户端应用时；配置 dev\u002FAWS\u002FGCP sidecar 栈时；调试蓝图创建时的 403 Authorization_RequestDenied 错误时；检查所需的 Entra 角色（Global Admin \u002F Agent ID Administrator \u002F Agent ID Developer）时；运行 Start-EntraAgentIDWorkflow \u002F setup-obo-client-app \u002F setup-obo-blueprint 时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fentra-agent-id-setup\u002FSKILL.md",[236,237],{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":238,"categoryName":239,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BTFDX7M21YT75733H52N36","身份与访问管理",[241,36,35,242,34,10],"entra agent id setup","debugging",{"skillNo":244,"name":245,"nameZh":246,"description":247,"descriptionZh":248,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":249,"categories":250,"keywords":253,"publishedAt":41},"01M69BFT5RJ78RV71NSH1K0JC2","deploy-agent-aca-aws","Bedrock 智能体 ACA 部署","AI-led deployment of the AWS Bedrock sample agent with the Microsoft Entra Agent ID sidecar to Azure Container Apps. Use when the user wants to deploy the AWS sample to ACA, provision the AWS-federation intermediary Entra app, wire the token refresher, create the AWS OIDC provider and IAM role for Bedrock, build and push the four container images to ACR, or debug InvalidIdentityToken \u002F AADSTS65001 \u002F Directory.AccessAsUser.All \u002F AcrPull errors in this specific deployment. NOT for local docker-compose (use sidecar\u002Fdev) and NOT for GCP (deploy-agent-aca-gcp, pending). Chains to entra-agent-id-setup for the Blueprint + Agent Identity + Client SPA objects.","由 AI 主导，将带有 Microsoft Entra Agent ID 边车（sidecar）的 AWS Bedrock 示例智能体部署到 Azure Container Apps。当用户希望将该 AWS 示例部署到 ACA、配置 AWS 联邦中间 Entra 应用、连接令牌刷新器、为 Bedrock 创建 AWS OIDC 提供程序和 IAM 角色、构建并将四个容器镜像推送到 ACR，或调试此特定部署中的 InvalidIdentityToken \u002F AADSTS65001 \u002F Directory.AccessAsUser.All \u002F AcrPull 错误时使用。不适用于本地 docker-compose（使用 sidecar\u002Fdev），也不适用于 GCP（deploy-agent-aca-gcp，待定）。可链接到 entra-agent-id-setup 以处理 Blueprint + Agent Identity + Client SPA 对象。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fentra-agentid-samples\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdeploy-agent-aca-aws\u002FSKILL.md",[251,252],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[254,31,33,10,36,255,34,35,256,257,39,38,37],"deploy agent aca aws","directory","create","container images"]