Permission denied 401 when running AOAI Teams deployment preview #12197
-
Hi I've exported my bot from AOIA Studio and trying it out in the TeamsToolkit locally. In the Config.json under the src/prompts/chat folder, the config looks ok and I added every key in the book that I can think off but (I'm using an owner account) Any Idea? |
Beta Was this translation helpful? Give feedback.
Answered by
jgezelscorp
Aug 9, 2024
Replies: 1 comment 2 replies
-
You need to add the Azure role to the user assigned managed identity.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok solved it. Make sure, even if using a global admin/Subscription owner, you need the cognitive services openAI user/Contributor role.
So that clears up the "Who is that Principal" question and the search key, you can find in several places: AI Studio & Azure AI Search like I assumed.
Thanks for your help