'Cannot authenticate Azure service

I am creating a Microsoft Teams Bot and have two similar projects. I have two resources in Azure: app service and Azure bot. I believe app service is responsible for running my bot in Azure.

Project A: So: I created new client secret for the Azure bot. Now my bot (already deployed) doesn't work, in the logs I can see an error about wrong client secret. But where do I need to put it? I updated the Authentication Service provider (Test connection gives the Token, so secret value is correct) in Azure bot.



Solution 1:[1]

The resolution was to publish application with updated values in appsettings.json. Probably even the local Bot Emulator uses authentication settings from Azure.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Morales1235