Skip to content

Commit 4dfdce4

Browse files
authored
Merge pull request #2325 from aahill/agent-rbac
adding RBAC roles
2 parents 48eae41 + 456ebf1 commit 4dfdce4

File tree

4 files changed

+28
-0
lines changed

4 files changed

+28
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ ms.date: 11/13/2024
1616
* Make sure you have the **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) assigned at the appropriate level.
1717
* 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.
1818

19+
[!INCLUDE [rbac-roles](rbac-roles.md)]
20+
1921
[!INCLUDE [bicep-setup](bicep-setup.md)]
2022

2123
## Configure and run an agent

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ ms.date: 11/13/2024
1818
* You need the **Cognitive Services OpenAI User** role assigned to use the Azure AI Services resource.
1919
* 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.
2020

21+
[!INCLUDE [rbac-roles](rbac-roles.md)]
22+
2123
[!INCLUDE [bicep-setup](bicep-setup.md)]
2224

2325
## Configure and run an agent

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ ms.date: 11/13/2024
1717
* Make sure you have the **Azure AI Developer** [RBAC role](../../../ai-studio/concepts/rbac-ai-studio.md) assigned at the appropriate level.
1818
* 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.
1919

20+
[!INCLUDE [rbac-roles](rbac-roles.md)]
21+
2022
[!INCLUDE [bicep-setup](bicep-setup.md)]
2123

2224
## Configure and run an agent
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
manager: nitinme
3+
author: aahill
4+
ms.author: aahi
5+
ms.service: azure-ai-agent-service
6+
ms.topic: include
7+
ms.date: 11/13/2024
8+
---
9+
10+
### RBAC roles
11+
12+
Make sure both developers and end users have the following permissions:
13+
14+
* `Microsoft.MachineLearningServices/workspaces/agents/read`
15+
* `Microsoft.MachineLearningServices/workspaces/agents/action`
16+
* `Microsoft.MachineLearningServices/workspaces/agents/delete`
17+
18+
If you want to create custom permissions, make sure they have:
19+
20+
* `agents/*/read`
21+
* `agents/*/action`
22+
* `agents/*/delete`

0 commit comments

Comments
 (0)