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-studio/concepts/rbac-ai-studio.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -384,6 +384,29 @@ The following example defines a role for a developer using [Azure OpenAI Assista
384
384
}
385
385
```
386
386
387
+
## Troubleshooting
388
+
389
+
### Error: Principal does not have access to API/Operation
390
+
391
+
#### Symptoms
392
+
393
+
When using the Azure AI Studio chat playground, you receive an error message stating "Principal does not have access to API/Operation". The error may also include an "Apim-request-id".
394
+
395
+
#### Cause
396
+
397
+
The user or service principal used to authenticate requests to Azure OpenAI or Azure AI Search does not have the required permissions to access the resource.
398
+
399
+
#### Solution
400
+
401
+
Assign the following roles to the user or service principal. The role you assign depends on the services you are using and the level of access the user or service principal requires:
402
+
403
+
| Service being accessed | Role | Description |
404
+
| --- | --- | --- |
405
+
| Azure OpenAI | Cognitive Services OpenAI Contributor | Call public ingestion API from Azure AI Studio. |
406
+
| Azure OpenAI | Cognitive Services User | List API-Keys from Azure AI Studio. |
407
+
| Azure AI Search | Search Index Data Contributor | Required for indexing scenarios. |
408
+
| Azure AI Search| Search Index Data Reader | Inference service queries the data from the index. Only used for inference scenarios. |
409
+
387
410
## Next steps
388
411
389
412
-[How to create an Azure AI Studio hub](../how-to/create-azure-ai-resource.md)
0 commit comments