Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Prepare applications for Azure deployment by generating infrastructure code, Dockerfiles, and config files.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/services/functions/templates/recipes/durable/README.md
1# Durable Functions Recipe23Orchestration workflows with Durable Task Scheduler as the backend.45## Template Selection67Resource filter: `durable`8Discover templates via MCP or CDN manifest where `resource == "durable"` and `language` matches user request.910## Key Concept1112Uses **Durable Task Scheduler** (DTS) — a fully managed backend for state persistence. Do NOT use Azure Storage queues/tables.1314See [Durable Task Scheduler reference](../../../../durable-task-scheduler/README.md) for backend configuration details.1516## Troubleshooting1718### Orchestration Fails to Start1920**Cause:** Durable Task Scheduler (DTS) backend not provisioned or connection misconfigured.21**Solution:** Verify the DTS resource exists and the function app has the `Durable Task Scheduler Worker` role. Do NOT use Azure Storage queues/tables as backend.2223### UAMI Connection Issues2425**Cause:** Missing or incorrect Durable Task Scheduler connection string.26**Solution:** DTS uses a connection string format (not the `__` suffix pattern). Set these app settings:2728- `DURABLE_TASK_SCHEDULER_CONNECTION_STRING`: `Endpoint=<scheduler-endpoint>;Authentication=ManagedIdentity;ClientID=<client-id>`29- `TASKHUB_NAME`: name of the task hub3031For system-assigned identity, omit `ClientID`:32`Endpoint=<scheduler-endpoint>;Authentication=ManagedIdentity`3334The identity must have the **Durable Task Data Contributor** role on the scheduler or task hub resource. See [DTS identity auth](https://learn.microsoft.com/en-us/azure/durable-task/scheduler/durable-task-scheduler-identity) for identity-based config — refer to the **"Configure managed identity"** section for connection string and role assignment details.3536## Eval3738| Path | Description |39|------|-------------|40| [eval/summary.md](eval/summary.md) | Evaluation summary |41| [eval/python.md](eval/python.md) | Python evaluation results |42