Unable to post a message from Graph API Explorer to Teams

Copper Contributor

After following the documentation i am able to create a Channel but unable to post a message to a channel.

POST Method: 

https://graph.microsoft.com/v1.0/teams/49fjfj570-0a14-40ff-abf6-d899adfdefafa/channels/19:3ea88b8d91...

 

 

Response:

 


{
"error": {
"code": "BadRequest",
"message": "Resource not found for the segment 'messages'.",
"innerError": {
"request-id": "729731a6-d7ce-4687-a00a-51eda380a705",
"date": "2019-08-19T18:33:50"
}
}
}

 

 

1 Reply

@Abdul Azeez Please validate using graph explorer once again. We can able to test using beta version. Chat messages in preview now. 
GET https://graph.microsoft.com/beta/teams/303d2c1c-f1c5-40ce-b68e-544343d7f42b/channels/19:fec4b0f2825d4c8c82abc09027a64184@thread.skype/messages

 

Follow the below link

https://docs.microsoft.com/en-us/graph/api/channel-list-messages?view=graph-rest-beta&tabs=http