thibsc
thibsc

Reputation: 4069

Teams chatbot permission denied when test in microsoft teams

I have a teams bot powered by Azure AI service, when I test the bot in VS code Test Tool (enter image description here) I am able to chat with it.

But, when I try to Debug in Teams Chrome (enter image description here), I get:

{
  error: {
    code: 'PermissionDenied',
    message: 'Principal does not have access to API/Operation.'
  }
}

I gave the permission Cognitive Services OpenAI Contributor to my personal user on my Azure AI services resource and also to the App registration of my bot created when I ran for the first time the debug in Teams option.
I am clueless about the missing permission.

Upvotes: 0

Views: 118

Answers (0)

Related Questions