Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Assess and upgrade Azure workloads between plans, tiers, or SKUs with automated migration steps
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/services/functions/assessment.md
1# Assessment: Functions Plan Upgrade23Generate an upgrade assessment report before any changes to Azure resources.45## Prerequisites67- User has an existing Azure Functions app on a Consumption or other plan8- User has Azure CLI v2.77.0+ installed9- User has Owner or Contributor role in the target resource group10- The `resource-graph` extension is installed (`az extension add --name resource-graph`)1112## Assessment Steps13141. **Identify Source App** — Confirm the function app name, resource group, region, and current hosting plan152. **Check Region Compatibility** — Verify the target plan is available in the app's region163. **Verify Language Stack** — Confirm the app's runtime is supported on the target plan174. **Verify Stack Version** — Confirm the runtime version is supported on the target plan in the region185. **Check Deployment Slots** — Determine if slots are in use (Flex Consumption doesn't support slots)196. **Check Certificates** — Determine if TLS/SSL certificates are in use (not yet supported in Flex Consumption)207. **Check Blob Triggers** — Verify blob triggers use EventGrid source (container polling not supported in Flex Consumption)218. **Assess Dependencies** — Review upstream and downstream service dependencies and plan mitigation strategies229. **Generate Report** — Create `upgrade-assessment-report.md`2324## Assessment Report Format2526> ⚠️ **MANDATORY**: Use these exact section headings in every assessment report. Do NOT rename, reorder, or omit sections.2728The report MUST be saved as `upgrade-assessment-report.md` in the workspace root.2930```markdown31# Upgrade Assessment Report3233## 1. Executive Summary3435| Property | Value |36|----------|-------|37| **App Name** | <app-name> |38| **Resource Group** | <resource-group> |39| **Current Plan** | <current-plan (e.g., Consumption / Y1 Dynamic)> |40| **Target Plan** | <target-plan (e.g., Flex Consumption / FC1)> |41| **Region** | <region> |42| **Runtime** | <runtime and version> |43| **OS** | <Linux / Windows> |44| **Upgrade Readiness** | <Ready / Needs Attention / Blocked> |45| **Assessment Date** | <date> |4647## 2. Compatibility Checks4849| Check | Status | Details |50|-------|--------|---------|51| Region supported | ✅ / ❌ | |52| Language stack supported | ✅ / ❌ | |53| Stack version supported | ✅ / ❌ | |54| No deployment slots | ✅ / ⚠️ | |55| No TLS/SSL certificates | ✅ / ⚠️ | |56| Blob triggers use EventGrid | ✅ / ⚠️ / N/A | |57| .NET isolated (not in-process) | ✅ / ❌ / N/A | |5859## 3. App Settings Inventory6061| Setting | Value | Migrate? | Notes |62|---------|-------|----------|-------|63| | | Yes / No / Convert | |6465## 4. Managed Identities6667| Type | Principal ID | Roles | Action |68|------|-------------|-------|--------|69| System-assigned | | | Recreate in new app |70| User-assigned | | | Reassign to new app |7172## 5. Application Configurations7374| Configuration | Current Value | Migrate? | Notes |75|---------------|---------------|----------|-------|76| CORS settings | | | |77| Custom domains | | | |78| HTTP version | | | |79| HTTPS only | | | |80| TLS version | | | |81| Client certificates | | | |82| Access restrictions | | | |83| Built-in auth | | | |8485## 6. Trigger & Binding Analysis8687| Function | Trigger Type | Source | Migration Risk | Mitigation |88|----------|-------------|--------|----------------|------------|89| | | | Low / Medium / High | |9091## 7. Dependent Services9293| Service | Dependency Type | Migration Risk | Mitigation Strategy |94|---------|----------------|----------------|---------------------|95| | Upstream / Downstream | | |9697## 8. Blockers & Warnings9899### Blockers (must fix before upgrade)100- [ ] <any blocking issues>101102### Warnings (should address but not blocking)103- [ ] <any non-blocking concerns>104105## 9. Recommendations1061071. **Plan**: <recommended target plan>1082. **Auth**: <switch to Managed Identity if using connection strings>1093. **Monitoring**: <Application Insights configuration>1104. **Scaling**: <recommended instance count and concurrency settings>111112## 10. Next Steps113114- [ ] Review and approve this assessment115- [ ] Address any blockers listed above116- [ ] Proceed to automated upgrade (Phase 3-4)117```118119> 💡 **Tip:** Use `mcp_azure_mcp_get_azure_bestpractices` to get the latest recommendations for the target hosting plan.120