Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neither tid nor tenantId claim is present in the token #6644

Open
14 tasks
pm7y opened this issue May 1, 2024 · 0 comments
Open
14 tasks

Neither tid nor tenantId claim is present in the token #6644

pm7y opened this issue May 1, 2024 · 0 comments
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.

Comments

@pm7y
Copy link

pm7y commented May 1, 2024

Version

4.22.2

Describe the bug

Whenever the C# bot app service receives a message (via /api/messages), the following exception is logged in app insights:
IDX40003: Neither tid nor tenantId claim is present in the token obtained from Microsoft identity platform.

To Reproduce

We have a multitenant Azure bot with a teams channel. When a message is sent to the bot C# app service via the Teams channel the bot successfully receives and processes the message and replies to the sender as expected. However, there is an error message (above) logged in app insights, indicating there is a problem.

Expected behavior

The tenant id shouldn't matter for a multitenant bot, right? How can I resolve this exception?

Screenshots

image

Tracking Status

Dotnet SDK TODO

  • PR
  • Merged

Javascript SDK TODO

  • PR
  • Merged

Python SDK TODO

  • PR
  • Merged

Java SDK TODO

  • PR
  • Merged

Samples TODO

  • PR
  • Merged

Docs TODO

  • PR
  • Merged

Tools TODO

  • PR
  • Merged
@pm7y pm7y added bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team. labels May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or an unintended behavior. needs-triage The issue has just been created and it has not been reviewed by the team.
Projects
None yet
Development

No branches or pull requests

1 participant