Skip to content

Commit 4bbe637

Browse files
Merge pull request #3379 from fosteramanda/quickstart-permissions-fix
Quickstart permissions fix
2 parents 6c16c15 + 610a2c7 commit 4bbe637

File tree

7 files changed

+42
-9
lines changed

7 files changed

+42
-9
lines changed

articles/ai-services/agents/how-to/virtual-networks.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ Azure AI Agent Service offers a standard agent configuration with private networ
3939
3. Ensure that the individual deploying the template has the [Azure AI Developer role](/azure/ai-studio/concepts/rbac-ai-studio) assigned at the resource group level where the template is being deployed.
4040
4. Additionally, to deploy the template, you need to have the preset [Role Based Access Administrator](/azure/role-based-access-control/built-in-roles/privileged#role-based-access-control-administrator) role at the subscription level.
4141
* The **Owner** role at the subscription level satisfies this requirement.
42-
* The specific admin role that is needed is `Microsoft.Authorization/roleAssignments/write`
42+
* The specific admin role that is needed is `Microsoft.Authorization/roleAssignments/write`
43+
5. Ensure that each team member who wants to use the Agent Playground or SDK to create or edit agents has been assigned the built-in **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) for the project.
44+
* Note: assign these roles after the template has been deployed
45+
* The minimum set of permissions required is: **agents/*/read**, **agents/*/action**, **agents/*/delete**
4346
5. Install [the Azure CLI and the machine learning extension](/azure/machine-learning/how-to-configure-cli). If you have the CLI already installed, make sure it's updated to the latest version.
4447
6. Register providers. The following providers must be registered:
4548
* `Microsoft.KeyVault`
@@ -286,4 +289,4 @@ with project_client:
286289

287290
## Next steps
288291

289-
Once you've provisioned your agent, you can add tools such as [Grounding with Bing Search](./tools/bing-grounding.md) to enhance their capabilities.
292+
Once you've provisioned your agent, you can add tools such as [Grounding with Bing Search](./tools/bing-grounding.md) to enhance their capabilities.

articles/ai-services/agents/includes/quickstart-csharp.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ ms.date: 01/15/2025
1313

1414
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services).
1515
* [The latest version of .NET](https://dotnet.microsoft.com/en-us/download)
16-
* Make sure you have the **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) assigned at the appropriate level.
16+
* Ensure that the individual deploying the template has the **Azure AI Developer** role assigned at the resource group level where the template is being deployed.
17+
* Additionally, to deploy the template, you need to have the preset **Role Based Access Administrator** role at the subscription level.
18+
* The **Owner** role at the subscription level satisfies this requirement.
19+
* The specific admin role that is needed is `Microsoft.Authorization/roleAssignments/write`
20+
* Ensure that each team member who wants to use the Agent Playground or SDK to create or edit agents has been assigned the built-in **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) for the project.
21+
* Note: assign these roles after the template has been deployed
22+
* The minimum set of permissions required is: **agents/*/read**, **agents/*/action**, **agents/*/delete**
1723
* Install [the Azure CLI and the machine learning extension](/azure/machine-learning/how-to-configure-cli). If you have the CLI already installed, make sure it's updated to the latest version.
1824

1925
[!INCLUDE [bicep-setup](bicep-setup.md)]
@@ -146,4 +152,4 @@ public class Sample_Agent
146152
}
147153
}
148154
}
149-
```
155+
```

articles/ai-services/agents/includes/quickstart-javascript.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ ms.custom: devx-track-js
1515

1616
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services).
1717
* [Node.js LTS](https://nodejs.org/)
18-
* Make sure you have the **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) assigned at the appropriate level.
18+
* Ensure that the individual deploying the template has the **Azure AI Developer** role assigned at the resource group level where the template is being deployed.
19+
* Additionally, to deploy the template, you need to have the preset **Role Based Access Administrator** role at the subscription level.
20+
* The **Owner** role at the subscription level satisfies this requirement.
21+
* The specific admin role that is needed is `Microsoft.Authorization/roleAssignments/write`
22+
* Ensure that each team member who wants to use the Agent Playground or Agent SDK to create or edit agents has been assigned the built-in **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) for the project.
23+
* Note: assign these roles after the template has been deployed
24+
* The minimum set of permissions required is: **agents/*/read**, **agents/*/action**, **agents/*/delete**
1925
* Install [the Azure CLI and the machine learning extension](/azure/machine-learning/how-to-configure-cli). If you have the CLI already installed, make sure it's updated to the latest version.
2026

2127
[!INCLUDE [bicep-setup](bicep-setup.md)]
@@ -183,4 +189,4 @@ main().catch((err) => {
183189
});
184190
```
185191
186-
Run the code using `node index.js` and observe.
192+
Run the code using `node index.js` and observe.

articles/ai-services/agents/includes/quickstart-python-openai.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ ms.date: 11/13/2024
1414

1515
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services).
1616
* [Python 3.8 or later](https://www.python.org/)
17+
* Ensure that the individual deploying the template has the **Azure AI Developer** role assigned at the resource group level where the template is being deployed.
18+
* Additionally, to deploy the template, you need to have the preset **Role Based Access Administrator** role at the subscription level.
19+
* The **Owner** role at the subscription level satisfies this requirement.
20+
* The specific admin role that is needed is `Microsoft.Authorization/roleAssignments/write`
1721
* Make sure you have the **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) assigned at the appropriate level.
1822
* You need the **Cognitive Services OpenAI User** role assigned to use the Azure AI Services resource.
1923
* Install [the Azure CLI and the machine learning extension](/azure/machine-learning/how-to-configure-cli). If you have the CLI already installed, make sure it's updated to the latest version.

articles/ai-services/agents/includes/quickstart-python.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ ms.date: 11/13/2024
1414

1515
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services).
1616
* [Python 3.8 or later](https://www.python.org/)
17-
* Make sure you have the **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) assigned at the appropriate level.
17+
* Ensure that the individual deploying the template has the **Azure AI Developer** role assigned at the resource group level where the template is being deployed.
18+
* Additionally, to deploy the template, you need to have the preset **Role Based Access Administrator** role at the subscription level.
19+
* The **Owner** role at the subscription level satisfies this requirement.
20+
* The specific admin role that is needed is `Microsoft.Authorization/roleAssignments/write`
21+
* Ensure that each team member who wants to use the Agent Playground or SDK to create or edit agents has been assigned the built-in **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) for the project.
22+
* Note: assign these roles after the template has been deployed
23+
* The minimum set of permissions required is: `agents/*/read`, `agents/*/action`, `agents/*/delete`
1824
* Install [the Azure CLI and the machine learning extension](/azure/machine-learning/how-to-configure-cli). If you have the CLI already installed, make sure it's updated to the latest version.
1925

2026
[!INCLUDE [bicep-setup](bicep-setup.md)]

articles/ai-services/agents/includes/quickstart-rest.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ ms.date: 02/15/2025
1111
## Prerequisites
1212

1313
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services).
14-
* Make sure you have the **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) assigned at the appropriate level.
14+
* Ensure that each team member who wants to use the Agent Playground or SDK to create or edit agents has been assigned the built-in **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) for the project.
15+
* Note: assign these roles after the template has been deployed
16+
* The minimum set of permissions required is: **agents/*/read**, **agents/*/action**, **agents/*/delete**
17+
* Ensure that each team member who wants to use the Agent Playground or Agent SDK to create or edit agents has been assigned the built-in **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) for the project.
18+
* Note: assign these roles after the template has been deployed
19+
* The minimum set of permissions required is: **agents/*/read**, **agents/*/action**, **agents/*/delete**
1520
* You need the **Cognitive Services OpenAI User** role assigned to use the Azure AI Services resource.
1621
* Install [the Azure CLI and the machine learning extension](/azure/machine-learning/how-to-configure-cli). If you have the CLI already installed, make sure it's updated to the latest version.
1722

@@ -117,4 +122,4 @@ curl $AZURE_AI_AGENTS_ENDPOINT/threads/thread_abc123/runs/run_abc123?api-version
117122
```console
118123
curl $AZURE_AI_AGENTS_ENDPOINT/threads/thread_abc123/messages?api-version=2024-12-01-preview \
119124
-H "Authorization: Bearer $AZURE_AI_AGENTS_TOKEN"
120-
```
125+
```

articles/ai-services/agents/includes/quickstart-typescript.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ ms.custom: devx-track-ts
1616
* An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services).
1717
* [Node.js LTS](https://nodejs.org/)
1818
* [TypeScript 5.x](https://www.typescriptlang.org/)
19+
* Ensure that each team member who wants to use the Agent Playground or SDK to create or edit agents has been assigned the built-in **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) for the project.
20+
* Note: assign these roles after the template has been deployed
21+
* The minimum set of permissions required is: **agents/*/read**, **agents/*/action**, **agents/*/delete**
1922
* Make sure you have the **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) assigned at the appropriate level.
2023
* Install [the Azure CLI and the machine learning extension](/azure/machine-learning/how-to-configure-cli). If you have the CLI already installed, make sure it's updated to the latest version.
2124

0 commit comments

Comments
 (0)