Azure Bot and Teams

家源 林 0 Reputation points
2023-12-13T00:15:05.4033333+00:00

On October 26, 2023, I was able to integrate Azure Bot with Teams successfully. However, when attempting to use it again in November, I encountered difficulties. An error message stating, "Cannot send messages," appeared without specifying a particular error.

Upon researching Microsoft's FAQ, there was mention of permission issues related to Teams. I checked with administrator privileges and confirmed that permissions for custom apps and global apps, among others, were already enabled.

Could you please provide guidance on how to configure the integration between Azure Bot and Teams?

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

1 answer

Sort by: Most helpful
  1. Prasad-MSFT 5,701 Reputation points Microsoft Vendor
    2023-12-18T13:33:23.0966667+00:00

    This behavior is by design in New Teams Client.

    To interact with bot via azure portal, you need to have side loading of apps enabled in the tenant.
    For classic Teams also, same behaviour will be implemented but we don't have exact ETA to share.

    Reference docs:
    Enable custom Teams apps and turn on custom app uploading: https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/prepare-your-o365-tenant#enable-custom-teams-apps-and-turn-on-custom-app-uploading

    Upload your app in Teams: https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/deploy-and-publish/apps-upload

    Please refer this thread: https://github.com/MicrosoftDocs/msteams-docs/issues/9743

    Thanks, 

    Prasad Das

    ************************************************************************* 

    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.

    0 comments No comments