Building, integrating, or customizing apps and workflows within Microsoft Teams using developer tools and APIs
Forbidden Error When Accessing Teams Chat Messages via Application
I created a Python daemon to retrieve messages from a Microsoft Teams chat using the “List messages in a chat” API, but I’m receiving a “Forbidden – Invoked API requires Protected API access in application-only context” error.
I’ve registered the app, added and admin-consented to Chat.ReadAll, Chat.ReadWrite.All, Chat.Read, and Chat.ReadWrite permissions. I also submitted the Protected API access request form
What should I do
Microsoft Teams | Development
1 answer
Sort by: Most helpful
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
1 deleted comment
Comments have been turned off. Learn more