Implement an Azure resource pattern from current docs
When to use: Claude keeps writing Bicep/Terraform with deprecated property names; you want it to use the current API.
Flow
-
Search the docMicrosoft Learn MCP: search 'Azure Container Apps managed identity'. Pull the current docs.✓ Copied→ Search returns Learn pages with URLs
-
Fetch and quoteGet the section on assigning a user-assigned identity. Quote the current Bicep schema, don't paraphrase.✓ Copied→ Exact Bicep snippet with property names
-
ApplyNow write the Bicep for my container app to use an existing identity
id-prod-app. Match the schema you quoted.✓ Copied→ Bicep compiles against current Microsoft.App API
Outcome: Bicep that deploys cleanly first try because schema matches current Azure API.
Pitfalls
- Doc surfaced via search is for an older API version — Always check the URL has 'latest' or the right api-version