Skip to content

Commit ba19a83

Browse files
authored
Merge pull request #3191 from MicrosoftDocs/main
2/26/2025 AM Publish
2 parents 3048f75 + c5c6b44 commit ba19a83

File tree

14 files changed

+156
-74
lines changed

14 files changed

+156
-74
lines changed

articles/ai-foundry/model-inference/includes/configure-entra-id/portal.md

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,42 @@ zone_pivot_groups: azure-ai-models-deployment
1414

1515
Follow these steps to configure Microsoft Entra ID for inference:
1616

17-
1. Go to the [Azure portal](https://portal.azure.com) and locate the Azure AI Services resource you're using. If you're using Azure AI Foundry with projects or hubs, you can navigate to it by:
17+
1. Go to the [Azure portal](https://portal.azure.com) and locate the **Azure AI Services** resource you're using. If you're using Azure AI Foundry with projects or hubs, you can navigate to it by:
1818

1919
1. Go to [Azure AI Foundry portal](https://ai.azure.com).
2020

2121
2. On the landing page, select **Open management center**.
2222

2323
3. Go to the section **Connected resources** and select the connection to the Azure AI Services resource that you want to configure. If it isn't listed, select **View all** to see the full list.
2424

25+
:::image type="content" source="../../media/configure-entra-id/resource-behind-select.png" alt-text="Screenshot showing how to navigate to the details of the connection in Azure AI Foundry in the management center." lightbox="../../media/configure-entra-id/resource-behind-select.png":::
26+
2527
4. On the **Connection details** section, under **Resource**, select the name of the Azure resource. A new page opens.
2628

2729
5. You're now in [Azure portal](https://portal.azure.com) where you can manage all the aspects of the resource itself.
2830

29-
2. On the left navigation bar, select **Access control (IAM)**.
31+
:::image type="content" source="../../media/configure-entra-id/locate-resource-ai-services.png" alt-text="Screenshot showing the resource to which we configure Microsoft Entra ID." lightbox="../../media/configure-entra-id/locate-resource-ai-services.png":::
32+
33+
2. On the left navigation bar, select **Access control (IAM)** and then select **Add** > **Add role assignment**.
34+
35+
:::image type="content" source="../../media/configure-entra-id/resource-aim.png" alt-text="Screenshot showing how to add a role assignment in the Access control section of the resource in the Azure portal." lightbox="../../media/configure-entra-id/resource-aim.png":::
3036

3137
> [!TIP]
3238
> Use the **View my access** option to verify which roles are already assigned to you.
3339
34-
3. Select **Role assignments** and then select **Add** > **Add role assignment**.
40+
3. On **Job function roles**, type **Cognitive Services User**. The list of roles is filtered out.
3541

36-
4. On **Job function roles**, type **Cognitive Services User**. The list of roles is filtered out.
42+
:::image type="content" source="../../media/configure-entra-id/cognitive-services-user.png" alt-text="Screenshot showing how to select the Cognitive Services User role assignment." lightbox="../../media/configure-entra-id/cognitive-services-user.png":::
3743

38-
5. Select the role and select **Next**.
44+
4. Select the role and select **Next**.
3945

40-
6. On **Members**, select the user or group you want to grant access to. We recommend using security groups whenever possible as they are easier to manage and maintain.
46+
5. On **Members**, select the user or group you want to grant access to. We recommend using security groups whenever possible as they are easier to manage and maintain.
4147

42-
7. Select **Next** and finish the wizard.
48+
:::image type="content" source="../../media/configure-entra-id/select-user.png" alt-text="Screenshot showing how to select the user to whom assign the role." lightbox="../../media/configure-entra-id/select-user.png":::
4349

44-
8. The selected user can now use Microsoft Entra ID for inference.
50+
6. Select **Next** and finish the wizard.
51+
52+
7. The selected user can now use Microsoft Entra ID for inference.
4553

4654
> [!TIP]
4755
> Keep in mind that Azure role assignments may take up to five minutes to propagate. When working with security groups, adding or removing users from the security group propagates immediately.
@@ -84,6 +92,4 @@ To change this behavior, you have to update the connections from your projects t
8492

8593
## Disable key-based authentication in the resource
8694

87-
Disabling key-based authentication is advisable when you implemented Microsoft Entra ID and fully addressed compatibility or fallback concerns in all the applications that consume the service.
88-
89-
95+
Disabling key-based authentication is advisable when you implemented Microsoft Entra ID and fully addressed compatibility or fallback concerns in all the applications that consume the service. Disabling key-based authentication is only available when deploying using Bicep/ARM.

articles/ai-foundry/model-inference/includes/configure-entra-id/troubleshooting.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,21 @@ ms.date: 01/23/2025
77
ms.topic: include
88
---
99

10+
Before troubleshooting, verify that you have the right permissions assigned:
11+
12+
1. Go to the [Azure portal](https://portal.azure.com) and locate the **Azure AI Services** resource you're using.
13+
14+
2. On the left navigation bar, select **Access control (IAM)** and then select **Check access**.
15+
16+
3. Type the name of the user or identity you are using to connect to the service.
17+
18+
4. Verify that the role **Cognitive Services User** is listed (or a role that contains the required permissions as explained in [Prerequisites](#prerequisites)).
19+
20+
> [!IMPORTANT]
21+
> Roles like **Owner** or **Contributor** don't provide access via Microsoft Entra ID.
22+
23+
5. If not listed, follow the steps in this guide before continuing.
24+
1025
The following table contains multiple scenarios that can help troubleshooting Microsoft Entra ID:
1126

1227
| Error / Scenario | Root cause | Solution |
1.72 MB
Loading
1.14 MB
Loading
1.43 MB
Loading
1.48 MB
Loading
813 KB
Loading

articles/ai-services/openai/how-to/azure-developer-cli.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ ms.service: azure-ai-openai
77
ms.topic: quickstart
88
author: aahill
99
ms.author: aahi
10-
ms.date: 04/09/2024
10+
ms.date: 02/25/2025
1111
recommendations: false
1212
---
1313

1414
# Use the Azure Developer CLI to deploy resources for Azure OpenAI On Your Data
1515

16-
Use this article to learn how to automate resource deployment for Azure OpenAI Service On Your Data. The Azure Developer CLI (`azd`) is an open-source command-line tool that streamlines provisioning and deploying resources to Azure by using a template system. The template contains infrastructure files to provision the necessary Azure OpenAI resources and configurations. It also includes the completed sample app code.
16+
Use this article to learn how to automate resource deployment for Azure OpenAI Service On Your Data. The Azure Developer CLI (`azd`) is an open-source command-line tool that streamlines provisioning and deploying resources to Azure by using a template system. The template contains infrastructure files to provision the necessary Azure OpenAI resources and configurations. The source code for the template can be found on [GitHub](https://github.com/Azure-Samples/openai-chat-your-own-data/tree/main).
1717

1818
## Prerequisites
1919

@@ -55,7 +55,8 @@ Use this article to learn how to automate resource deployment for Azure OpenAI S
5555
- `Location`: The Azure region where your resources are deployed.
5656

5757
> [!NOTE]
58-
> The sample `azd` template uses the `gpt-35-turbo-16k` model. A recommended region for this template is East US, because different Azure regions support different OpenAI models. For more details about model support by region, go to the [Azure OpenAI Service Models](/azure/ai-services/openai/concepts/models) support page.
58+
> * The sample `azd` template deploys a `gpt-4o-mini` model. A recommended region for this template is East US, because different Azure regions support different OpenAI models. For more details about model support by region, go to the [Azure OpenAI Service Models](/azure/ai-services/openai/concepts/models) support page.
59+
> * If you want to deploy a different model, you can edit the variables in the `infra/main.bicep` file.
5960

6061
The provisioning process might take several minutes. Wait for the task to finish before you proceed to the next steps.
6162

articles/ai-services/openai/how-to/stored-completions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ client = AzureOpenAI(
8888
azure_endpoint = os.getenv("AZURE_OPENAI_ENDPOINT")
8989
)
9090

91-
ompletion = client.chat.completions.create(
91+
completion = client.chat.completions.create(
9292

9393
model="gpt-4o", # replace with model deployment name
9494
store= True,

0 commit comments

Comments
 (0)