5.2 Azure OpenAI Service

Key Takeaways

  • Azure OpenAI Service, delivered through Azure AI Foundry, gives API access to OpenAI models (GPT-4.1 and GPT-4o families, embeddings, image generation, Whisper) with Azure enterprise features.
  • Azure OpenAI offers the SAME models as OpenAI but adds RBAC, managed identities, private endpoints, compliance certifications, and built-in content filtering.
  • You must create a deployment (model + version + capacity) before calling a model; deployment types include Standard, Provisioned (PTU), and Batch.
  • GPT-4.1 supports up to roughly 1,000,000 tokens of context; embeddings models produce vectors for semantic search and RAG.
  • Your prompts and responses are NOT used to train OpenAI models — the most commonly tested data-privacy fact on the exam.
Last updated: June 2026

Quick Answer: Azure OpenAI Service (delivered through Azure AI Foundry / Microsoft Foundry) provides access to OpenAI models — the GPT-4.1 and GPT-4o families, embeddings, image generation, and Whisper — through Azure with enterprise-grade security, compliance, and content filtering. You create deployments of specific models and call them via REST API or SDK.

What Is Azure OpenAI Service?

Azure OpenAI Service gives you REST API access to OpenAI's generative models from within Azure. It is now part of Azure AI Foundry (Microsoft Foundry) Models, and it combines OpenAI's models with Azure's enterprise capabilities.

Azure OpenAI vs. OpenAI Direct

FeatureAzure OpenAIOpenAI Direct
ModelsSame OpenAI models (GPT-4.1, GPT-4o, etc.)Same models
SecurityAzure RBAC, managed identities, private endpointsAPI key authentication
ComplianceSOC 2, HIPAA, ISO 27001, GDPR certificationsStandard compliance
Content filteringBuilt-in Azure AI Content Safety filters (on by default)Moderation API
Data privacyYour data is NOT used to train OpenAI modelsYour data is NOT used to train OpenAI models
NetworkingVirtual networks, private endpointsPublic internet
SLAEnterprise SLA with guaranteed uptimeBest-effort availability
BillingAzure subscription billingOpenAI billing

On the Exam: The key differentiator is ENTERPRISE FEATURES. Azure OpenAI offers the SAME models as OpenAI but adds Azure security, compliance, content filtering, and networking that enterprises require.

Available Models

Text Generation Models

ModelDescriptionBest For
GPT-4.1Latest GPT-4 series; up to ~1,000,000-token contextCoding, instruction-following, long-context analysis
GPT-4.1 mini / nanoSmaller, faster, cheaper GPT-4.1 variantsCost-sensitive and high-volume workloads
GPT-4oMultimodal (text + image input, text output)Complex reasoning, coding, multimodal analysis
GPT-4o miniSmaller, faster GPT-4oQuick, low-cost responses

(Older models such as GPT-3.5-Turbo are being phased out; always create deployments from the current model catalog.)

Other Model Types

TypeExample ModelPurpose
Image generationGPT-image-1Generate images from text prompts
Embeddingstext-embedding-3-large / -smallVector representations for semantic search and RAG
SpeechWhisperSpeech-to-text transcription

Creating a Deployment

Before using a model you must create a deployment in your Azure OpenAI resource:

  1. Create an Azure OpenAI resource in the Azure portal
  2. Open Azure AI Foundry (the management portal)
  3. Select a model from the model catalog
  4. Create a deployment — choose the model version, capacity (TPM = tokens per minute), and a deployment name
  5. Use the deployment via the REST API or SDK with your endpoint and key (or managed identity)

Deployment Types

TypeDescriptionWhen to Use
StandardPay-per-token, shared capacityDevelopment, testing, variable workloads
Provisioned (PTU)Reserved capacity with guaranteed throughputProduction workloads with predictable demand
BatchAsynchronous, lower-cost processing of large jobsBulk, non-interactive workloads

A "global" routing option also exists for high availability across regions.

Enterprise Features

Security

  • Azure RBAC — control who can access the resource and deployments
  • Managed identities — authenticate without storing keys in code
  • Private endpoints — keep traffic on your private network
  • Customer-managed keys — encrypt data with your own keys

Compliance

Azure OpenAI inherits Azure's certifications: SOC 2 Type II, ISO 27001, HIPAA (with a BAA), GDPR, and FedRAMP in select regions.

Content Filtering

Built-in filters scan both prompts and responses for hate, violence, sexual, and self-harm content, plus Prompt Shields for jailbreak/injection detection. Filters are enabled by default.

Data Privacy

  • Your prompts and responses are NOT used to train OpenAI models.
  • Data is processed in the Azure region you select and is not shared with OpenAI for model improvement.
  • You can opt in or out of abuse monitoring.

Common Workloads

Azure OpenAI is the engine behind most enterprise generative-AI applications on Azure. Typical workloads include:

WorkloadHow Azure OpenAI is used
Enterprise chatbot / copilotGPT chat completions, usually grounded with RAG via Azure AI Search
SummarizationCondense long documents, transcripts, or email threads
Content generationDraft marketing copy, product descriptions, code
Semantic searchEmbeddings models power vector search over your content
Classification and extractionUse prompts to categorize tickets or pull structured fields
Image generationCreate images from text prompts with GPT-image-1

A recurring exam idea is that Azure OpenAI is rarely used alone — it is paired with Azure AI Search (for grounding/RAG), Azure AI Content Safety (for filtering), and Azure AI Foundry (for building and evaluating the application).

Access, Regions, and Responsible Use

Azure OpenAI is a Limited Access service: historically you applied for access, and Microsoft requires customers to follow a Code of Conduct and responsible-use commitments. Resources are created in specific Azure regions, and not every model or feature is available in every region — when you create a deployment you choose a region and a model that is supported there. Capacity is measured in tokens per minute (TPM), and you can request quota increases as your application grows.

Because the service is gated and governed, it is well suited to regulated industries (finance, healthcare, government) that need both cutting-edge models and strict control over data residency, access, and content safety. This combination — frontier models plus enterprise governance — is exactly what the AI-900 wants you to associate with Azure OpenAI.

On the Exam: The single most-tested Azure OpenAI fact is data privacy — YOUR DATA IS NOT USED TO TRAIN MODELS. Second is that you must create a deployment before calling a model. Third, remember it adds Azure's enterprise security, compliance, content filtering, and networking on top of the same OpenAI models. Access has historically required an application, though availability has broadened over time.

Test Your Knowledge

What is the primary advantage of Azure OpenAI Service over using OpenAI directly?

A
B
C
D
Test Your Knowledge

In Azure OpenAI Service, what must you create before you can use a model?

A
B
C
D
Test Your Knowledge

Is your prompt and response data used to train OpenAI models when using Azure OpenAI Service?

A
B
C
D
Test Your Knowledge

Which Azure OpenAI capability would you use to create numerical vector representations of text for semantic search in a RAG solution?

A
B
C
D
Test Your Knowledge
Multi-Select

Which THREE are enterprise features that Azure OpenAI Service provides over OpenAI direct? (Select three)

Select all that apply

Azure RBAC (Role-Based Access Control)
Access to exclusive models not available from OpenAI
Built-in content filtering via Azure AI Content Safety
Free usage with no token charges
Private endpoints for network isolation