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/ai-foundry/how-to/azure-policy.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,13 @@ You can also assign policies by using [Azure PowerShell](/azure/governance/polic
61
61
62
62
## Conditional access policies
63
63
64
-
To control who can access your Azure AI Foundry hubs and projects, use [Microsoft Entra Conditional Access](/azure/active-directory/conditional-access/overview). To use Conditional Access for hubs, [assign the Conditional Access policy](/azure/active-directory/conditional-access/concept-conditional-access-cloud-apps) to the app named __Azure Machine Learning__. The app ID is __0736f41a-0425-bdb5-1563eff02385__.
64
+
To control who can access your Azure AI Foundry hubs and projects, use [Microsoft Entra Conditional Access](/azure/active-directory/conditional-access/overview). To use Conditional Access for hubs, [assign the Conditional Access policy](/azure/active-directory/conditional-access/concept-conditional-access-cloud-apps) to the following apps:
65
+
66
+
| App name | App ID | Description |
67
+
|---|---|---|
68
+
| Azure AI Foundry App | cb2ff863-7f30-4ced-ab89-a00194bcf6d9 | Use to control access to the Azure AI Foundry portal. |
69
+
| Azure Machine Learning Web App | d7304df8-741f-47d3-9bc2-df0e24e2071f | Use to control access to Azure Machine Learning studio. |
70
+
| Azure Machine Learning | 0736f41a-0425-bdb5-1563eff02385 | Use to control direct access to the Azure Machine Learning API. For example, when using the SDK or REST API. Azure AI Foundry hub based projects rely on the Azure Machine Learning API. |
Copy file name to clipboardExpand all lines: articles/ai-foundry/how-to/develop/connections-add-sdk.md
+19-32Lines changed: 19 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,15 +42,13 @@ There are various authentication methods for the different connection types. Whe
42
42
43
43
## Azure OpenAI in Foundry Models
44
44
45
-
The following example creates an Azure OpenAI in Azure AI Foundry Models connection.
45
+
The following example uses the [AzureOpenAIConnection](/python/api/azure-ai-ml/azure.ai.ml.entities.azureopenaiconnection) class to create an Azure OpenAI in Azure AI Foundry Models connection.
46
46
47
47
> [!TIP]
48
48
> To connect to Azure OpenAI and more AI services with one connection, you can use the [AI services connection](#azure-ai-services) instead.
49
49
50
50
```python
51
-
from azure.ai.ml.entities import AzureOpenAIConnection, ApiKeyConfiguration
52
-
from azure.ai.ml.entities import UsernamePasswordConfiguration
53
-
51
+
from azure.ai.ml.entities import AzureOpenAIConnection
The following example creates an Azure AI services connection. This example creates one connection for the AI services documented in the [Connect to Azure AI services](../../../ai-services/connect-services-ai-foundry-portal.md) article. The same connection also supports Azure OpenAI.
73
+
The following example uses the [AzureAIServicesConnection](/python/api/azure-ai-ml/azure.ai.ml.entities.azureaiservicesconnection) class to create an Azure AI services connection. This example creates one connection for the AI services documented in the [Connect to Azure AI services](../../../ai-services/connect-services-ai-foundry-portal.md) article. The same connection also supports Azure OpenAI.
79
74
80
75
```python
81
-
from azure.ai.ml.entities import AzureAIServicesConnection, ApiKeyConfiguration
82
-
from azure.ai.ml.entities import UsernamePasswordConfiguration
76
+
from azure.ai.ml.entities import AzureAIServicesConnection
The following example creates an Azure AI Search connection:
98
+
The following example uses the [AzureAISearchConnection](/python/api/azure-ai-ml/azure.ai.ml.entities.azureaisearchconnection) class to create an Azure AI Search connection:
107
99
108
100
```python
109
-
from azure.ai.ml.entities import AzureAISearchConnection, ApiKeyConfiguration
110
-
from azure.ai.ml.entities import UsernamePasswordConfiguration
101
+
from azure.ai.ml.entities import AzureAISearchConnection
111
102
112
103
name ="my_aisearch_demo_connection"
113
-
target ="https://XXXXXXXXX.search.windows.net"
104
+
target ="https://my.search.windows.net"
114
105
115
106
# Microsoft Entra ID
116
107
credentials =None
117
-
# Uncomment the following if you need to use API key instead
118
-
# api_key= "my-key"
119
-
# credentials = ApiKeyConfiguration(key=api_key)
108
+
120
109
121
110
wps_connection = AzureAISearchConnection(
122
111
name=name,
@@ -132,11 +121,10 @@ The following example creates an Azure AI Content Safety connection:
132
121
133
122
```python
134
123
from azure.ai.ml.entities import AzureContentSafetyConnection, ApiKeyConfiguration
135
-
from azure.ai.ml.entities import UsernamePasswordConfiguration
The following example creates an Azure Blob Storage connection. This connection is authenticated with an account key or a SAS token:
161
+
The following example uses the [AzureBlobStoreConnection](/python/api/azure-ai-ml/azure.ai.ml.entities.azureblobstoreconnection) class to create an Azure Blob Storage connection. This connection is authenticated with an account key or a SAS token:
174
162
175
163
```python
176
164
from azure.ai.ml.entities import AzureBlobStoreConnection, SasTokenConfiguration,AccountKeyConfiguration
177
-
from azure.ai.ml.entities import UsernamePasswordConfiguration
178
165
179
166
180
167
name ="my_blobstore"
@@ -198,7 +185,7 @@ The following example creates Azure Data Lake Storage Gen 2 connection. This con
198
185
199
186
```python
200
187
from azure.ai.ml.entities import WorkspaceConnection
201
-
from azure.ai.ml.entities importUsernamePasswordConfiguration, ServicePrincipalConfiguration
188
+
from azure.ai.ml.entities import ServicePrincipalConfiguration
The following example creates a Microsoft OneLake connection. This connection is authenticated with a Service Principal:
212
+
The following example uses the [MicrosoftOneLakeWorkspaceConnection](/python/api/azure-ai-ml/azure.ai.ml.entities.microsoftonelakeconnection) class to create a Microsoft OneLake connection. This connection is authenticated with a Service Principal:
226
213
227
214
```python
228
215
from azure.ai.ml.entities import MicrosoftOneLakeWorkspaceConnection, OneLakeArtifact
The following example creates an OpenAI (not Azure OpenAI) connection:
261
+
The following example uses the [OpenAIConnection](/python/api/azure-ai-ml/azure.ai.ml.entities.openaiconnection) class to create an OpenAI (not Azure OpenAI) connection:
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/provisioned-throughput-onboarding.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Understanding costs associated with provisioned throughput units (PTU)
3
3
description: Learn about provisioned throughput costs and billing in Azure OpenAI.
4
4
ms.service: azure-ai-openai
5
5
ms.topic: conceptual
6
-
ms.date: 03/31/2025
6
+
ms.date: 05/20/2025
7
7
manager: nitinme
8
8
author: aahill
9
9
ms.author: aahi
@@ -47,10 +47,6 @@ Quota for provisioned deployments shows up in Azure AI Foundry as the following
47
47
48
48
:::image type="content" source="../media/provisioned/ptu-quota-page.png" alt-text="Screenshot of quota UI for Azure OpenAI provisioned." lightbox="../media/provisioned/ptu-quota-page.png":::
49
49
50
-
51
-
> [!NOTE]
52
-
> Global provisioned and data zone provisioned deployments are only supported for gpt-4o and gpt-4o-mini models at this time. For more information on model availability, review the [models documentation](../concepts/models.md).
53
-
54
50
## Hourly usage
55
51
56
52
Provisioned, Data Zone Provisioned, and Global Provisioned deployments are charged an hourly rate ($/PTU/hr) on the number of PTUs that have been deployed. For example, a 300 PTU deployment will be charged the hourly rate times 300. All Azure OpenAI pricing is available in the Azure Pricing Calculator.
0 commit comments