You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/service-connector/how-to-integrate-openai.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
---
2
2
title: Connect Azure OpenAI in Foundry Models to Other Azure Services
3
3
titleSuffix: Service Connector
4
-
description: Use these code samples to integrate Azure OpenAI into your application with Service Connector.
4
+
description: Learn how to integrate Azure OpenAI in Foundry Models into your application with Service Connector by using supported authentication methods and clients.
5
5
author: wchigit
6
6
ms.author: wchi
7
7
ms.service: service-connector
8
8
ms.topic: how-to
9
-
ms.date: 09/30/2025
9
+
ms.date: 02/03/2026
10
10
ms.update-cycle: 180-days
11
11
ms.collection: ce-skilling-ai-copilot
12
12
#customer intent: As a cloud developer, I want to connect my compute services toAzure OpenAI in Foundry Models using Service Connector.
13
13
---
14
14
15
15
# Connect to Azure OpenAI in Foundry Models using Service Connector
16
16
17
-
This page provides information about supported authentication methods and clients. It provides sample code you can use to connect compute services to Azure OpenAI in Foundry Models using Service Connector. This page also lists default environment variable names and values obtained when creating service connections.
17
+
In this article, we cover the supported authentication methods and clients that you can use to connect compute services to Azure OpenAI in Foundry Models using Service Connector. For each supported method, we provide sample code and list the default environment variable names and values obtained when creating service connections.
18
18
19
19
## Supported compute services
20
20
@@ -28,7 +28,7 @@ Service Connector can be used to connect the following compute services to Azure
28
28
29
29
## Supported authentication types and client types
30
30
31
-
This table shows which combinations of authentication methods and clients are supported for connecting your compute service to Azure OpenAI using Service Connector. A "Yes" indicates that the combination is supported, while a "No" indicates that it isn't supported.
31
+
This table shows which combinations of authentication methods and clients are supported for connecting your compute service to Azure OpenAI using Service Connector. A *Yes* indicates that the combination is supported, while a *No* indicates that it isn't supported.
32
32
33
33
34
34
| Client type | System-assigned managed identity | User-assigned managed identity | Secret/connection string | Service principal |
@@ -54,6 +54,7 @@ Use the following connection details to connect compute services to Azure OpenAI
54
54
#### Sample code
55
55
56
56
To connect to Azure OpenAI using a system-assigned managed identity, refer to the following steps and code.
57
+
57
58
[!INCLUDE [code sample for app config](./includes/code-openai-microsoft-entra-id.md)]
58
59
59
60
### User-assigned managed identity
@@ -66,6 +67,7 @@ To connect to Azure OpenAI using a system-assigned managed identity, refer to th
66
67
#### Sample code
67
68
68
69
To connect to Azure OpenAI using a user-assigned managed identity, refer to the following steps and code.
70
+
69
71
[!INCLUDE [code sample for Azure OpenAI](./includes/code-openai-microsoft-entra-id.md)]
70
72
71
73
### Connection string
@@ -79,6 +81,7 @@ To connect to Azure OpenAI using a user-assigned managed identity, refer to the
79
81
#### Sample Code
80
82
81
83
To connect to Azure OpenAI using a connection string, refer to the following steps and code.
84
+
82
85
[!INCLUDE [code sample for Azure OpenAI](./includes/code-openai-secret.md)]
83
86
84
87
@@ -94,6 +97,7 @@ To connect to Azure OpenAI using a connection string, refer to the following ste
94
97
#### Sample code
95
98
96
99
To connect to Azure OpenAI using a service principal, refer to the following steps and code.
100
+
97
101
[!INCLUDE [code sample for Azure OpenAI](./includes/code-openai-microsoft-entra-id.md)]
0 commit comments