@Nikitha-MSFT Hi. I have a similar issue where I tried to post the Caneldar event in the Teams Channel message using Graph API. I can see the created event from the Teams Calendar app. However, I don't see the message from the Channel. I have tried Graph API v1.0 and beta, but nothing helps. Can you please help me out?!
Here is the same Graph API request:
API: POST-https://graph.microsoft.com/beta/me/events
Request body:
{
"subject": "Calendar Eventf9EtJ",
"body": {
"contentType": "HTML",
"content": "Sample BOT Calendar eventxcPRGyR1wi"
},
"start": {
"dateTime": "2022-05-22T00:59:22",
"timeZone": "UTC"
},
"end": {
"dateTime": "2022-05-22T01:29:22",
"timeZone": "UTC"
},
"location": {
"displayName": "Events"
},
"attendees": [
{
"emailAddress": {
"address": "******@uk.teams.ms",
"name": "Events"
},
"type": "required"
}
],
"allowNewTimeProposals": true,
"isOnlineMeeting": true,
"onlineMeetingProvider": "teamsForBusiness"
}
----------
And API returned with a successful response.