Home > Forum > Actions > Exchange Events

Exchange Events
0

I am using Exchange events action to add a meeting request to the meeting participants. Everything works fine, but it is not possible to add parameters isOnlineMeeting, onlineMeeting, and onlineMeetingProvider. I tried to resolve this by updating the calendar entry via MS Graph API – Calendar/events.
From the Exchange identifier, I was able to determine what would the id of the event be (everything behind #), but when trying to update the event with two additional parameters (isOnlineMeeting, and onlineMeetingProvider), I got the following response:

{
"error": {
"code": "RequestBroker--ParseUri",
"message": "Resource not found for the segment 'QSIqpc178RLEUBwAOebtldQpXQYuXrQU7MnmzAAAAAAENAAAOebtldQpXQYuXrQU7MnmzAAGXoPJPAAA='."
}
}

The request was: PATCH v1.0/users/[user id]/calendar/events/Field value (meeting ID - raw)

I also tried to create a meeting with an API and then update the meeting with additional parameters, and that worked. Probably there is something in the procedure of how Webcon action creates an event, that does not allow to add additional properties for the online meeting.
Has anybody faced the same problem, has a resolution or could explain how the Webcon action creates the event and how exchange identifier is formed?

Best regards

Aleš

MVP

Hi Aleš,

I haven't used this option but when I look at the MS Graph API I think you are missing something
https://docs.microsoft.com/en-us/graph/api/calendar-post-events?view=graph-rest-1.0&tabs=http:
POST /users/{id | userPrincipalName}/calendarGroup/calendars/{id}/events
https://graph.microsoft.com/v1.0/users('5d8d505c-864f-4804-88c7-4583c966cde8')/calendars('AAMkAGViNDU7zAAAAAGtlAAA%3D')/events

The value inside the parentheses is an encoded ID, the = has been encoded to %3D. Maybe that's the reason why the resources couldn't be found.

Maybe you could use the Graph Explorer to take a look the created the event created by the BPS action and your API and compare them to verify if there's something different.
https://developer.microsoft.com/en-us/graph/graph-explorer
https://docs.microsoft.com/en-us/graph/graph-explorer/graph-explorer-features

I'm guessing that you don't have an SDK license and therefore it's not an option to use your API approach.


Best regards,
Daniel

In reply to: Daniel Krüger (Cosmo Consult)

Hi Aleš,

I haven't used this option but when I look at the MS Graph API I think you are missing something
https://docs.microsoft.com/en-us/graph/api/calendar-post-events?view=graph-rest-1.0&tabs=http:
POST /users/{id | userPrincipalName}/calendarGroup/calendars/{id}/events
https://graph.microsoft.com/v1.0/users('5d8d505c-864f-4804-88c7-4583c966cde8')/calendars('AAMkAGViNDU7zAAAAAGtlAAA%3D')/events

The value inside the parentheses is an encoded ID, the = has been encoded to %3D. Maybe that's the reason why the resources couldn't be found.

Maybe you could use the Graph Explorer to take a look the created the event created by the BPS action and your API and compare them to verify if there's something different.
https://developer.microsoft.com/en-us/graph/graph-explorer
https://docs.microsoft.com/en-us/graph/graph-explorer/graph-explorer-features

I'm guessing that you don't have an SDK license and therefore it's not an option to use your API approach.


Best regards,
Daniel

Daniel Hi,
your answer actually helped a lot. I used https://developer.microsoft.com/en-us/graph/graph-explorer as proposed and found the id of the meeting that was created with Webcon action. It was slightly different (in two characters) as that written in Exchangeidentifier field filled in by Webcon action.

AAMkADljDDc0ZjNhLTk5MTgtNGJiOC05M2QxLTkxZjdhOTgyNjQxMwBGAAAAAACD0faE_R-QSIqpc16rRLEUBwAOebtldQpXQYuXrQU7MnmzAAAAAAENAAAOebtldQpXQYuXrQU7MnmzAAGXoPJaAAA=
AAMkADljDDc0ZjNhLTk5MTgtNGJiOC05M2QxLTkxZjdhOTgyNjQxMwBGAAAAAACD0faE+R/QSIqpc16rRLEUBwAOebtldQpXQYuXrQU7MnmzAAAAAAENAAAOebtldQpXQYuXrQU7MnmzAAGXoPJaAAA=

For the split of Exchange identifier (delimiter #) and substitution of the + with _ and / with – I used create excel and read from excel action – the API updated the event with teams link.

Thank you for your help.

Best regards

Aleš

MVP