Always got error from Bot emulator
I built up a Hello World!Bot on my IIS server. But I always got error "Error: The bot's MSA appId or passsword is incorrect from bot emulator. " even if appId and passsword are right.
Hi @andy51002000 Please make sure you're using an appId and password generated from the Microsoft Application Portal: https://apps.dev.microsoft.com/. It doesn't work with arbitrary values.
Take a look at this auth toubleshooting guide: https://docs.botframework.com/en-us/support/troubleshooting-bot-framework-authentication/
1.The ID & Password are both generated from MS. And bot's ID\Password are same as Emulator's.
- I followed the troubleshooting guide and tested "Step 1: Connect without a password on localhost".
- Blanked out ID and Password in my Web.config
- Tested the Bot Emulator with empty ID and Password.
- My bot url endpoint is correct and end with/api/messages
However, I still experienced "Error: The bot's MSA appId or passsword is incorrect from bot emulator. "

Hi @eanders-MS could you give some advise
It seems your bot is still running with credentials specified. I wonder, do you have build-specific web.config translations? They would appear underneath web.config, and look like web.debug.config, web.release.config, etc. If so, do they contain MSA credentials.
I don't have any build-specific web.config translations. It's a pretty simple Hello World! Bot.
I downloaded Bot template. Compiled template with visual studio 2015. And then published to my windows server 2012. Launched emulator and saw error log "Error: The bot's MSA appId or password is incorrect from bot emulator. " And we found if published to windows 7, the emulator is work.
We prefer to use windows server 2012 as Bot service's host, if possible. Please give me some advice.
Hi @andy51002000 - can you try removing the app settings altogether instead of blanking them out? Just a thought...
Hi @danmarshall - I tried but it still doesn't work.
Hi @andy51002000, Some users have been able to solve this kind of issue by updating their Bot Application Project template. See this issue: https://github.com/Microsoft/BotFramework-Emulator/issues/165
Closing out this issue. @andy51002000, if you're still having a problem, drop a note here and we'll reopen the issue.
issue still persists.