Hello @BASIL VARGHESE ,
It only allows to send message in channel when the team is in migration mode when using application permissions. Please see this doc to understand more - Import external messages to teams . It is also mention in the doc -
.
You can use this API only with delegated permissions as of now.
Thanks,
Hunaid L Hanfee
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.