Typescript Bot not working in portal

Jake K 36 Reputation points
2021-01-22T21:26:39.533+00:00

I am trying a basic echo bot (Typescript) in the Azure Portal.

I followed instructions from here -> https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-tutorial-deploy-basic-bot?view=azure-bot-service-4.0&tabs=typescript

  1. App Registration is created
  2. Azure Bot Registration channel, App Service and App Service Plan are created using the Az commands
  3. Zipped up the bot directory
  4. Deployed code to the portal using the Az command

However, when I try to "Test in Web Chat", I get a 404 message with a blue background

And if I go to the public URL for the bot, I get {"code":"ResourceNotFound","message":"/ does not exist"}

What am I missing?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
756 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Jake K 36 Reputation points
    2021-01-22T23:25:21.26+00:00

    Finally was able to figure it out. I enabled Application logging in the Service App. Following this I saw this error "Application with <GUID> was not found in Bot Framework". Finally I remembered that when I created the App Registration, I had changed the the "Supported Account Types" from "Accounts in any organizational directory (Any Azure AD directory - Multitenant)" to "Accounts in this organizational directory only (Org only - Single tenant)". After that the echo bot began working.

    This article helped - http://thewindowsupdate.com/2019/08/19/how-to-create-an-app-registration-in-azure-ad-for-a-bot-solution/

    0 comments No comments

  2. YutongTie-MSFT 46,996 Reputation points
    2021-01-25T18:05:33.783+00:00

    Thank you so much for pointing this out and share the workaround. I would also share your experience to our document team to see if there anything we can improve to make this process smoother.

    Regards,
    Yutong

    0 comments No comments