Hi @Deeptha
Regarding Rate Limit for Graph API
Please refer this documentation to know about Microsoft Teams Service API rate limits.
I am getting this error Requested API is not supported in application-only context. But I have the required permissions "ChatMessage.Send, Chat.ReadWrite". What could be the issue here?
As your error message says, send messages does not support application-only context for the time being, it currently only supports user context.
So you need to grant ChatMessage.Send
delegation permission for your application, and then you need to use the auth code flow with user participation to get the access token, and then you will be able to use the user token to call the /chats/chat-id/messages
api endpoint to send messages.
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.