Skip to content

azure-prepare: add Table Storage recipe routing and explicit Table RBAC guidance for Functions - #2563

Draft
Sai Koumudi Kaluvakolanu (saikoumudi) with Copilot wants to merge 2 commits into
mainfrom
copilot/azure-prepare-missing-table-storage-recipe
Draft

azure-prepare: add Table Storage recipe routing and explicit Table RBAC guidance for Functions#2563
Sai Koumudi Kaluvakolanu (saikoumudi) with Copilot wants to merge 2 commits into
mainfrom
copilot/azure-prepare-missing-table-storage-recipe

Conversation

Copilot AI commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

azure-prepare did not provide a Table Storage recipe path, and Functions guidance implied Blob role coverage was sufficient for tables. This caused generated deployments to miss Storage Table Data Contributor, leading to runtime authorization failures.

  • Template selection + composition updates

    • Added Table Storage detection signals to the Functions selection guide:
      • TableServiceClient, TableClient, Azure.Data.Tables, @azure/data-tables
    • Added composition rule to use HTTP base + table-storage recipe when Table SDK usage is present.
  • New Table Storage recipe reference

    • Added references/services/functions/templates/recipes/table-storage/README.md
    • Documents:
      • when to apply the recipe
      • required Table RBAC assignment
      • troubleshooting for 500/unauthorized table access due to missing or unpropagated RBAC.
  • RBAC guidance corrections in Functions references

    • Updated Functions Bicep guidance to include explicit Storage Table Data Contributor assignment for Table workloads.
    • Updated Terraform guidance to state Blob role is for runtime/deployment blob access, and Table role must be added for Table SDK access.
  • Recipes index

    • Added table-storage to the recipes catalog.
resource tableRoleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid(storageAccount.id, functionApp.id, 'Storage Table Data Contributor')
  scope: storageAccount
  properties: {
    roleDefinitionId: subscriptionResourceId(
      'Microsoft.Authorization/roleDefinitions',
      '0a9a7e1f-b9d0-4cc4-a60d-0319b160aaa3'
    )
    principalId: functionApp.identity.principalId
    principalType: 'ServicePrincipal'
  }
}

Copilot AI changed the title [WIP] Add Table Storage recipe and RBAC guidance to azure-prepare skill azure-prepare: add Table Storage recipe routing and explicit Table RBAC guidance for Functions Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

azure-prepare skill: Missing Table Storage recipe and RBAC guidance

2 participants