Neither tid
nor tenantId
claim is present in the token
#6644
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.
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
nortenantId
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
Tracking Status
Dotnet SDK TODO
Javascript SDK TODO
Python SDK TODO
Java SDK TODO
Samples TODO
Docs TODO
Tools TODO
The text was updated successfully, but these errors were encountered: