Issue with Azure BOT communication with Teams

Biswarup Dutta 0 Reputation points
2026-02-12T16:17:08.5+00:00

Hi Team,

Sharing following communication details about a Azure BOT, which is deployed in Teams. But there are some issues in communication, please help.

  1. Azure Bot created in Tenant A(TenantID REMOVED). APP Id of the BOT is TenantID REMOVED.
  2. Bot Type- Single Tenant (this is only supported by Azure now)
  3. Supported account types - Multiple organizations (app registration - Authentication - Settings), did this because of requirement of cross tenant communication.
  4. BOT channel - Teams
  5. BOT deployed in teams (in Tenant B - tenant id -[TenantID REMOVED]
  6. Admin consent granted on Tenant B using the url - [https://login.microsoftonline.com/ [TOKEN HIDDEN]/adminconsent?client_id=TOKEN HIDDEN]&redirect_uri=https://token.botframework.com/.auth/web/redirect](https://login.microsoftonline.com/86dd60b0-86b8-4604-be2a-6d607879e676/adminconsent?client_id=fc60af25-4922-4ab2-85b1-03810b7e6ea7&redirect_uri=https://token.botframework.com/.auth/web/redirect)
  7. In BOT code using new SDK (4.17.1)
  8. Getting Unauthorized error in turn_context.send_activity (received the message successfully in on_message_activity)
  9. Sharing the Teams-BOT-Teams communication log. Please help me in resolving the issue.Communication_Log_sample.txt
Azure AI Bot Service
Azure AI Bot Service

An Azure service that provides an integrated environment for bot development.

0 comments No comments

Answer recommended by moderator

Biswarup Dutta 0 Reputation points
2026-02-25T10:54:49.0366667+00:00

Thanks **Nivedipa-MSFT...
**The issues was fixed. This was because of wrong initialization of Adapter for cross tenant communication using new SDK (cloudAdapter), this has been fixed now.

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Yevhen Marynchak 0 Reputation points
    2026-02-13T13:09:21.31+00:00

    Try enabling the Microsoft Teams channel in your Azure Bot Service

    Was this answer helpful?


Your answer

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