Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Please note that Q&A forum is a public platform, and moderators will modify the question to hide personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.
Hello Kevin Boban
Based on the behavior you described, it’s very likely that the bot was originally created as a multi‑tenant bot and later reused by switching it to single‑tenant. If this is the case, please note that reusing or converting an existing multi‑tenant bot to single‑tenant often results in 401 “Authorization has been denied” errors when sending messages. This same behavior is also reproduced in the thread you shared.
To make a single‑tenant bot work reliably, Microsoft’s supported approach (and what I’ve seen work in practice) is to create a brand‑new app registration and bot configured as single‑tenant from the start, rather than reusing or converting an existing multi‑tenant bot. After creating a new bot and updating the App ID and client secret in the bot configuration, sending messages should work as expected.
Please try this approach and let me know your feedback.
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.