Skip to content

Azure BOT communication issue with Teams #5690

@Biswarup-Dutta-AMLRS

Description

@Biswarup-Dutta-AMLRS

I have a question

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(Tenant id - b6b9c2b3-3f92-4643-afb2-8e15275bf764). APP Id of the BOT is fc60af25-4922-4ab2-85b1-03810b7e6ea7.
  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 -86dd60b0-86b8-4604-be2a-6d607879e676)
  6. Admin consent granted on Tenant B using the url - 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) (botbuilder-core==4.17.1, botbuilder-schema==4.17.1, botbuilder-integration-aiohttp==4.17.1, botframework-connector==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

Communication_Log_sample.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.customer-reportedRequired for internal Azure reporting. Do not delete.questionFurther information is requested. Stack Overflow candidate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions