How to bring a custom chatbot (deployed as an endpoint in Azure ML Studio) to Microsoft Teams channel?

Tho Le 25 Reputation points
2024-11-25T09:47:41.22+00:00

As the title says, I have developed a chatbot using PromptFlow in Azure ML Studio. I deployed this bot as an endpoint and I wanted to integrate this endpoint to Teams channel.

The closest documentation I've found is: https://learn.microsoft.com/en-us/azure/bot-service/channel-connect-teams?view=azure-bot-service-4.0. In this doc, two main things can be tried out. I am having issues with each approach. Any suggestion would be really appreciated!

  1. Create an Azure Bot Service and register the bot to it.
    1. I could not figure the configuration right. E.g. the endpoint from Azure ML Studio has the form ending in ".../score". However, it seems the Bot Service expects and endpoint ending in ".../message".
    2. I could not find in the Bot Service where to enter the authorization details to the endpoint in Azure ML Studio. Obviously, sending test chat message in either WebChat or Teams doesn't get any response.
  2. Create an app package (including manifest.json) and zip it in a file. Then upload it to Teams as an app.
    1. This requires a Microsoft 365 Developer account. I couldn't register for this account and couldn't create the app package without this Developer account.

Thank you!

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,418 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,387 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Nivedipa-MSFT 3,111 Reputation points Microsoft Vendor
    2024-11-26T08:30:12.2666667+00:00

    Hello @Tho Le, another option is to look into Azure Communication Services, which offers quickstart guides for adding bots to chat apps. This might provide additional insights or alternative methods for your integration.

    Unfortunately, creating an app package and uploading it to Teams as an app does require a Microsoft 365 Developer account. If you're having trouble registering for this account, you might want to check if there are any specific issues or errors during the registration process.

    The process of registering for a Microsoft 365 Developer account. Here are the steps you need to follow:

    1. Sign Up for a Microsoft 365 Developer Program:
    • Visit the https://developer.microsoft.com/en-us/microsoft-365/dev-program page.
    • Click on "Join now" and sign in with your Microsoft account. If you don't have one, you can create a new account.
    • Fill in the required details such as your name, email address, and country/region.
    • Agree to the terms and conditions and click "Next".
    • After registering, you will be prompted to set up your Microsoft 365 developer subscription.
    • Choose the "Set up E5 subscription" option to get a free Microsoft 365 E5 developer subscription, which includes all the tools and resources you need.
    • Follow the on-screen instructions to configure your subscription. This includes setting up your domain and creating a new user account for your developer environment.
    • Once your subscription is set up, you can access your developer dashboard. Here, you can manage your subscription, create new projects, and access various resources and tools.
      • With your developer account and subscription set up, you can start building and testing your applications. You have access to a wide range of Microsoft 365 services and APIs.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.