In virtual assitent ,IBotFrameworkHttpAdapter.Adapter.Processasync menthod render the error :"Error invoking the skill id: error code 401."

Shraddha Soni (TATA CONSULTANCY SERVICES LTD) 1 Reputation point Microsoft Vendor
2022-09-12T11:31:03.02+00:00

while using virtual assistant bot ,

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?
IBotFrameworkHttpAdapter.Adapter.Processasync menthod render the error :"Error invoking the skill id: error code 401."

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,877 questions
{count} votes