I need to add co-organizer in teams meeting through graph api

Copper Contributor

I am using the https://graph.microsoft.com/v1.0/me/events/ endpoint
This is my json code:

 

{
'subject': 'Test meeting',
'body': {
'contentType': 'HTML',
'content': 'Group code: Hello'
},
'start': {
'dateTime': '2023-02-25T12:30',
'timeZone': 'Europe/Sofia'
},
'end': {
'dateTime': '2023-02-25T13:30',
'timeZone': 'Europe/Sofia'
},
'attendees': [
{
'status': {
'response': 'accepted',
'time': '0001-01-01T00:00:00Z'
},
'emailAddress': {
'address': 'email address removed for privacy reasons',
'name': 'Elena'
},
'type': 'required'
}
],
'organizer': {
'emailAddress': {
'address': 'email address removed for privacy reasons',
'name': 'Organizer'
}
},
'allowNewTimeProposals': true,
'isOnlineMeeting': true,
'onlineMeetingProvider': 'teamsForBusiness'
}

 

It successfully makes a meeting and adding the participants to it, but I need to assign the participants a role 'co-organizers'. Please help!

1 Reply