Skip to content

Add managed identity to Cognitive Services (OpenAI) in Bicep deployment #13

Description

@haileyvictory

Description:
Our Bicep infrastructure currently provisions Azure Cognitive Services (OpenAI) via infra/app/openai.bicep without a managed identity assigned.
PSRule for Azure baseline Azure.AI.ManagedIdentity requires that managed identities are enabled for AI resources when possible.
App Service and Azure Functions are already assigned managed identities, but OpenAI is not.

Acceptance Criteria:

  • Add identity: { type: 'SystemAssigned' } to the account resource in infra/app/openai.bicep.
  • Template remains deployable and backward compatible.
  • No additional secrets are exposed or output.
  • (Optional) Output the managed identity principal ID for downstream access control.

References:

READY TO BE ASSIGNED TO COPILOT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions