Thank you for raising this issue on the Q&A forum.
I’d like to first confirm and better understand the error you're encountering. At this point, it's unclear whether the problem originates from a group chat, personal chat, or a channel.
After conducting my own research, I unfortunately couldn’t find any documentation or previously reported issues that match this exact behavior. However, I did come across an official Microsoft document that outlines feature availability for Bots, Connectors, and Messaging Extensions across different channel types. You can find it here: https://learn.microsoft.com/en-us/microsoftteams/teams-channels-overview#channel-feature-comparison
According to this document, shared channels and private channels do not support Bots, Connectors, or Messaging Extensions.
I also tested this in my own environment and confirmed that these features are indeed unavailable in those channel types.
Private channel:
Shared Channel:
The information I’ve shared above is based on official documentation and my own testing, and it appears to be relevant to the issue you’re experiencing. I hope it proves helpful in identifying the root cause.
If the error you're encountering occurs in a different context outside of the channel types I mentioned, please feel free to reach out to us!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.