Create Event linked to Team Channel - Microsoft Api Graph

marco.grossi 1 Reputation point
2020-12-23T16:46:51.887+00:00

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.
I'm using the proper endpoint: https://learn.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http.
This is the info I'm passing as post request :

{  
    subject:"Event Subjct",  
    isOrganizer: true,  
    start: {  
        dateTime:"2020-12-29T12:00:00",  
        timeZone:"Pacific Standard Time"  
    },  
    end: {  
        dateTime:"2020-12-29T14:00:00",  
        timeZone:"Pacific Standard Time"  
    },  
    isAllDay: false,  
    allowNewTimeProposals: true,  
    isOnlineMeeting: true,  
    attendees: {  
        {  
            emailAddress: {  
                address:"<groupName@emailaddress.ext>", <-- got directly from Azure  
                name:"<TeamGroupName>"  
            },  
            type:"required"  
        }  
    },  
    hideAttendees: false,  
    type: "singleInstance",  
    transactionId: "<UNIQUE_ID>",  
    onlineMeetingProvider: "teamsForBusiness"  
}  

Note: all values between <..> are placeholder.

The event is correctly created but there's no reference on the Team channel group specified in the attendees field. I've search the definition of attendees array and there's nothing specific to note a group+channel in the attendee collection : https://learn.microsoft.com/en-us/graph/api/resources/attendee?view=graph-rest-1.0

Any help?
Thanks

Microsoft Graph Calendar API
Microsoft Graph Teamwork API
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
1,876 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Unai Gutierrez Arechaga 1 Reputation point
    2022-12-20T17:59:51.163+00:00

    @Nikitha-MSFT Hi. I have the same problem here. I need to create programmatically an event or online meeting related or linked to specific channel. Is there any solution for this scenario? Is there some kind of roadmap to archieve this?