Power Automate JSON add co-organizer

Iron Contributor

Hi, I can create a Teams meeting using JSON and an Azure AD HTTP request but is it possible to add co-organizers as part of the request. I can't figure it out but hope someone can suggest a method.

Cheers, Jon

4 Replies

@jonlake 

 

What do you mean by Co-Organizers? do you mean Required Attendees?

 

kalpeshvaghela_0-1662554674588.png

 

It would be good if you can share some screen shot of your Power Automate to see which API you are using to creates Teams meetings

@kalpeshvaghela you can open a meeting from the Teams calendar then choose meeting options, from where you can add meeting co-organizers. I need to be able to do that using Power Automate, and likely JSON (which creates the meeting initially). Ideally I'd be able to create the event and set all options using a JSON post.

meeting options.jpg

@jonlake 

 

According to Official documentation of Graph API, it's not possible to add multiple co-organizers while adding meeting or updating meeting using Graph API. It's not even possible with beta version of graph API.

 


Hope it will helpful to you and if so then Please mark my response as Best Response & Like to help others in this community

 

 

 

@jonlake yes, you can. Just use the onlinemeetings patch.

PATCH /users/{userId}/onlineMeetings/{meetingId}

Be sure to include the header Prefer: include-unknown-enum-members.

The json should include the already existing attendees, including the new one.

{
"participants": {
"attendees": [
{
"upn": "existingattendee1upn",
"role": "attendee"
},
{
"upn": "existingattendee2upn",
"role": "attendee"
},
{
"upn": "newcoorganizerupn",
"role": "coorganizer"
}
]
}
}