Forum Discussion
Power Automate JSON add co-organizer
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"
}
]
}
}
- BBeck88Jul 12, 2024Copper ContributorHi samb2180. I've been testing PATCH /users/{userId}/onlineMeetings/{meetingId}, but I keep getting this error - URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource/object is not supported for this connector. I'm confused because you've explained its possible and MS Learn documents it here - https://learn.microsoft.com/en-us/graph/api/onlinemeeting-update?view=graph-rest-1.0&tabs=http. I wasn't sure if I entered the header in the correct area or what I have wrong. I put 'Prefer: include-unknown-enum-members' (with no '') in CustomHeader1 field. My URI is https://graph.microsoft.com/v1.0/users/<my userID>/onlineMeetings/<meetingID> (from dynamic content). I've been trying this with 'GET' but maybe that's what I'm doing wrong.
- samb2180Jul 15, 2024Brass ContributorWhich action are you using? In my case I'm using the premium HTTP action with app permissions.
Are you using the HTTP with Microsoft Entra ID connector?- BBeck88Jul 15, 2024Copper Contributor
samb2180 I had been using Group 'Send an HTTP request V2' connector. I changed it to HTTP premium. Now I'm running into an issue with the Header in HTTP. I'm not sure what to enter for Authorization'. And I don't know if I need an app registration. Seems as if I do. I'll have to ask my engineer to do that since I don't have rights. Plus I realize I may not have everything correct in the Body.