# Crestapps Core Azure Openai

> Skill for registering Azure OpenAI in CrestApps.Core and configuring Azure connections, deployments, and enterprise defaults.

- Skill: `crestapps/crestapps-core-azure-openai` (Agent Skill)
- Install (CLI): `npx skillmds@latest add crestapps/crestapps-core-azure-openai`
- Raw SKILL.md: https://api.skillmd.com/api/skills/crestapps/crestapps-core-azure-openai/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: CrestApps (https://skillmd.com/u/crestapps)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/crestapps/crestapps-core-azure-openai

---


# CrestApps.Core Azure OpenAI - Prompt Templates

## Add Azure OpenAI Support

You are a CrestApps.Core expert. Generate code and configuration for Azure OpenAI with CrestApps.Core.

### Guidelines

- Use Azure OpenAI for enterprise production needs such as regional control and managed identity scenarios.
- Register Azure OpenAI only when the host actually uses it.
- Keep the Azure endpoint and credentials on the connection.
- Keep deployment names and model intent on the deployment entry.

### Builder Registration

```csharp
builder.Services.AddCrestAppsCore(crestApps => crestApps
    .AddAISuite(ai => ai
        .AddAzureOpenAI()
    )
);
```

### Provider-Only Registration

`AddCoreAIAzureOpenAI()` adds only the Azure OpenAI provider registrations. Use it alone only when the application has already registered the core AI services it needs.

```csharp
builder.Services.AddCoreAIAzureOpenAI();
```

For a normal application composition that resolves deployments or uses orchestration, register the core and orchestration services as well:

```csharp
builder.Services
    .AddCoreAIServices()
    .AddCoreAIOrchestration()
    .AddCoreAIAzureOpenAI();
```

### Configuration

```json
{
  "CrestApps": {
    "AI": {
      "Connections": [
        {
          "Name": "azure-primary",
          "ClientName": "Azure",
          "ApiKey": "YOUR_AZURE_OPENAI_KEY",
          "Endpoint": "https://my-resource.openai.azure.com"
        }
      ],
      "Deployments": [
        {
          "Name": "gpt-4o",
          "ClientName": "Azure",
          "ConnectionName": "azure-primary",
          "ModelName": "gpt-4o",
          "Type": "Chat"
        }
      ]
    }
  }
}
```

