question

PraveenNarala-3563 avatar image
0 Votes"
PraveenNarala-3563 asked ShivaniRai-MSFT-7217 answered

Unable to link Event to Team Channel - Microsoft Api Graph

Hi Team,

I'm trying to create an event into a calendar that mocks an event created directly on Microsoft Teams. So basically when you create an event via Microsoft Teams you can specify the group & the channel that must be part of the event.

This was working before where I am able to see created Event from the Channel message. Started failing on 18th May 2022. I have tried Graph API v1.0 and Beta. None helps.

204338-events-from-calendar.png
I'm using the proper endpoint: https://docs.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http.
This is the info I'm passing as a post request :

 {
 "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": "ca7e2c3f.miexpresslane.com@uk.teams.ms",
 "name": "Events"
 },
 "type": "required"
 }
 ],
 "allowNewTimeProposals": true,
 "isOnlineMeeting": true,
 "onlineMeetingProvider": "teamsForBusiness"
 }



microsoft-graph-teamworkmicrosoft-graph-calendar
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ShivaniRai-MSFT-7217 avatar image
0 Votes"
ShivaniRai-MSFT-7217 answered

Hi @PraveenNarala-3563,

If you are creating channel meeting like below screenshot, creating teams channel meeting is not available with Graph API as of now.

204821-image.png

Similar posts: https://stackoverflow.com/questions/70293307/create-event-on-teams-channel-calendar-from-api-application-using-microsoft-grap
https://stackoverflow.com/questions/70244659/how-to-schedule-recurring-teams-channel-meetings-in-teams-calendar-by-using-api

Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


image.png (33.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.