Getting 401 unauthorized error when calling skill bot from rootbot in Virtual assistant.


Hi Team,
We are trying to create virtual assistant bot microsoft teams. When we are trying to send request to skill bot from root bot using SkillClient.PostActivityAsync method, while debugging request hits botcontroller of skill bot. But it return 401 unauthorized error. If we try same in local using bot framework emulator (without using app id and password) it is working as expected. Also we have entered all configurations in appsettings.json for rootbot except oauthConnections, tokenExchangeConfig this two values. Can you please help us with where we can get this values. And how we can resolve this unauthorized error?


Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
768 questions
{count} votes