Botframework-composer: MicrosoftAppId and MicrosoftAppPassword in Composer Bot Settings breaks Test in Emulator

Created on 26 Jun 2020  路  4Comments  路  Source: microsoft/BotFramework-Composer

Describe the bug

Adding MicrosoftAppId and MicrosoftAppPassword to Bot Settings breaks Test in Emulator with a 400: "The bot's Microsoft App ID or Microsoft App Password is incorrect."

Version

latest

Browser

  • [x ] Electron distribution
  • [ ] Chrome
  • [ ] Safari
  • [ ] Firefox
  • [ ] Edge

OS

  • [ ] macOS
  • [ x] Windows
  • [ ] Ubuntu

To Reproduce

Steps to reproduce the behavior:

  1. Create a bot channel registration and retrieve appid/password
  2. Create an echo bot in Composer
  3. Add appid/password to bot settings in composer
  4. Restart the bot, and click 'test in emulator'
  5. See error in emulator

Expected behavior

Test in emulator should still function as expected while using appid/password in composer.

Screenshots

image

Additional context

Needs investigation Bug

Most helpful comment

So, turns out i had the MicrosoftAppId and MicrosoftAppPassword flipped :(

Unfortunately, i did this multiple times with multiple appid/passwords before filign this issue

In our samples, and templates, the MicrosoftAppId is above the MicrosoftAppPassword ... most people probably read these headings, while I just assume the top one is the appid.

I apologize for the mistake and noise. Closing the issue.

All 4 comments

Can someone from the team confirm this? This is a recent regression if so. @tdurnford ?

@EricDahlvang I'm not able to reproduce this. Are you using Electron or the self-hosted version of Composer?

@tdurnford windows install v1.0.1

So, turns out i had the MicrosoftAppId and MicrosoftAppPassword flipped :(

Unfortunately, i did this multiple times with multiple appid/passwords before filign this issue

In our samples, and templates, the MicrosoftAppId is above the MicrosoftAppPassword ... most people probably read these headings, while I just assume the top one is the appid.

I apologize for the mistake and noise. Closing the issue.

Was this page helpful?
0 / 5 - 0 ratings