Closed r3dr4gon closed 4 years ago
Funny enough I solved this a few seconds after I gave up and post in here. The problem was that altough i created id and pass with the command: az ad app create --subscription "XXX" --display-name "MM-ChatBot-WAbot" --password "XXX" --available-to-other-tenants and altough i got an output from this command it seems like it did not really created anything. I asked my manger which have adamin rights in the spesific subscription to run the same command himself and that solved my problem (altough he got the same ID and gave same password as i did).
Sample information
Describe the bug
When leaving "MicrosoftAppId" & "MicrosoftAppPassword" empty (in appsettings.json), running the bot locally and open the bot emulator (v4), I have no problem and the bot is working well. However, when I add "MicrosoftAppId" & "MicrosoftAppPassword" I get "The bot's Microsoft App Id or Microsoft App Password is incorrect.". This happen locally and in the cloud. In the cloud I get this error: "There was an error sending this message to your bot: HTTP status code GatewayTimeout".
To Reproduce
Steps to reproduce the behavior:
Expected behavior
working :D espically locally.
Screenshots
appsettings.json: locally: 1. 2. cloud: 1. 2.
Additional context
I actully had it all working a few weeks ago, then when I tried to recreate everything in the cloud (again) this keep giving me problems. To generate the id and pass i used this command: az ad app create --subscription "XXX" --display-name "MM-ChatBot-WAbot" --password "XXX" --available-to-other-tenants
PS I have the same problem with the echobot.
[bug]