MS Entra – Events – Get Event From Event Items
MS Entra – Events – Get Event From Event Items
Get an event from a collection of events by id.
Action details
| Property | Value |
|---|---|
| Action label | MS Entra – Events – Get Event From Event Items |
| Category | CloudTools |
| Apex class and method | GetMSGraphEventById.getEventById |
| Input type | GetMSGraphEventById.GetMSGraphEventByIdInput |
| Output type | List<MSGraphEvent> |
| Authorization | No connection required; searches existing items. |
Prerequisites and permissions
Pass a previously retrieved collection of the documented model type and the ID to find. This helper performs no callout and needs no Microsoft connector or permissions of its own.
Inputs
| Input | Apex field | Type | Required | Description |
|---|---|---|---|---|
| Id | id | String | Yes | Event id to find |
| Items | items | List<MSGraphEvent> | Yes | Events to search |
Items fields (MSGraphEvent)
| Field | Apex field | Type | Required | Description |
|---|---|---|---|---|
| id | id | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| odataEtag | odataEtag | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| subject | subject | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| bodyPreview | bodyPreview | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| body | body | MSGraphEventBody | No | Mapped drive item property; populated only when returned and supported by the resource. |
| startTime | startTime | MSGraphDateTimeTimeZone | No | Mapped drive item property; populated only when returned and supported by the resource. |
| endTime | endTime | MSGraphDateTimeTimeZone | No | Mapped drive item property; populated only when returned and supported by the resource. |
| originalStartTimeZone | originalStartTimeZone | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| originalEndTimeZone | originalEndTimeZone | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| location | location | MSGraphEventLocation | No | Mapped drive item property; populated only when returned and supported by the resource. |
| isAllDay | isAllDay | Boolean | No | Mapped drive item property; populated only when returned and supported by the resource. |
| showAs | showAs | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| isCancelled | isCancelled | Boolean | No | Mapped drive item property; populated only when returned and supported by the resource. |
| isOrganizer | isOrganizer | Boolean | No | Mapped drive item property; populated only when returned and supported by the resource. |
| importance | importance | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| sensitivity | sensitivity | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| categories | categories | List<String> | No | Mapped drive item property; populated only when returned and supported by the resource. |
| createdDateTime | createdDateTime | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| lastModifiedDateTime | lastModifiedDateTime | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| changeKey | changeKey | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| iCalUId | iCalUId | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| webLink | webLink | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| isReminderOn | isReminderOn | Boolean | No | Mapped drive item property; populated only when returned and supported by the resource. |
| reminderMinutesBeforeStart | reminderMinutesBeforeStart | Integer | No | Mapped drive item property; populated only when returned and supported by the resource. |
| eventType | eventType | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| onlineMeetingUrl | onlineMeetingUrl | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| isOnlineMeeting | isOnlineMeeting | Boolean | No | Mapped drive item property; populated only when returned and supported by the resource. |
| onlineMeetingProvider | onlineMeetingProvider | String | No | Mapped drive item property; populated only when returned and supported by the resource. |
| organizer | organizer | MSGraphEventOrganizer | No | Mapped drive item property; populated only when returned and supported by the resource. |
| responseStatus | responseStatus | MSGraphEventResponseStatus | No | Mapped drive item property; populated only when returned and supported by the resource. |
| attendees | attendees | List<MSGraphEventAttendee> | No | Mapped drive item property; populated only when returned and supported by the resource. |
Outputs
Returns one item per request, in input order. A null request, blank ID, null collection, or missing match yields null. A null or empty request list returns one null element. The first matching non-null item is selected.
| Output | Apex field | Type | Description |
|---|---|---|---|
| id | id | String | Mapped drive item property; populated only when returned and supported by the resource. |
| odataEtag | odataEtag | String | Mapped drive item property; populated only when returned and supported by the resource. |
| subject | subject | String | Mapped drive item property; populated only when returned and supported by the resource. |
| bodyPreview | bodyPreview | String | Mapped drive item property; populated only when returned and supported by the resource. |
| body | body | MSGraphEventBody | Mapped drive item property; populated only when returned and supported by the resource. |
| startTime | startTime | MSGraphDateTimeTimeZone | Mapped drive item property; populated only when returned and supported by the resource. |
| endTime | endTime | MSGraphDateTimeTimeZone | Mapped drive item property; populated only when returned and supported by the resource. |
| originalStartTimeZone | originalStartTimeZone | String | Mapped drive item property; populated only when returned and supported by the resource. |
| originalEndTimeZone | originalEndTimeZone | String | Mapped drive item property; populated only when returned and supported by the resource. |
| location | location | MSGraphEventLocation | Mapped drive item property; populated only when returned and supported by the resource. |
| isAllDay | isAllDay | Boolean | Mapped drive item property; populated only when returned and supported by the resource. |
| showAs | showAs | String | Mapped drive item property; populated only when returned and supported by the resource. |
| isCancelled | isCancelled | Boolean | Mapped drive item property; populated only when returned and supported by the resource. |
| isOrganizer | isOrganizer | Boolean | Mapped drive item property; populated only when returned and supported by the resource. |
| importance | importance | String | Mapped drive item property; populated only when returned and supported by the resource. |
| sensitivity | sensitivity | String | Mapped drive item property; populated only when returned and supported by the resource. |
| categories | categories | List<String> | Mapped drive item property; populated only when returned and supported by the resource. |
| createdDateTime | createdDateTime | String | Mapped drive item property; populated only when returned and supported by the resource. |
| lastModifiedDateTime | lastModifiedDateTime | String | Mapped drive item property; populated only when returned and supported by the resource. |
| changeKey | changeKey | String | Mapped drive item property; populated only when returned and supported by the resource. |
| iCalUId | iCalUId | String | Mapped drive item property; populated only when returned and supported by the resource. |
| webLink | webLink | String | Mapped drive item property; populated only when returned and supported by the resource. |
| isReminderOn | isReminderOn | Boolean | Mapped drive item property; populated only when returned and supported by the resource. |
| reminderMinutesBeforeStart | reminderMinutesBeforeStart | Integer | Mapped drive item property; populated only when returned and supported by the resource. |
| eventType | eventType | String | Mapped drive item property; populated only when returned and supported by the resource. |
| onlineMeetingUrl | onlineMeetingUrl | String | Mapped drive item property; populated only when returned and supported by the resource. |
| isOnlineMeeting | isOnlineMeeting | Boolean | Mapped drive item property; populated only when returned and supported by the resource. |
| onlineMeetingProvider | onlineMeetingProvider | String | Mapped drive item property; populated only when returned and supported by the resource. |
| organizer | organizer | MSGraphEventOrganizer | Mapped drive item property; populated only when returned and supported by the resource. |
| responseStatus | responseStatus | MSGraphEventResponseStatus | Mapped drive item property; populated only when returned and supported by the resource. |
| attendees | attendees | List<MSGraphEventAttendee> | Mapped drive item property; populated only when returned and supported by the resource. |
Behavior and limits
This wrapper delegates the Graph operation to a shared file helper. It does not pass an explicit connector record ID to that helper, which initializes the default MSENTRA connector. A controller request.connectorId does not select the connection used by the delegated file call.
Use in Flow
Use MS Entra – Events – Get Event From Event Items where supported. Pass a previously retrieved collection and an ID; check the returned item for null.
Use in custom Apex
This subscriber-org example uses the Apptigent namespace. Replace identifiers and example values before use. No callout context is required.
Apptigent.GetMSGraphEventById.GetMSGraphEventByIdInput request =
new Apptigent.GetMSGraphEventById.GetMSGraphEventByIdInput();
request.id = 'REPLACE_WITH_ID';
request.items = new List<Apptigent.MSGraphEvent>{ /* supply previously retrieved items */ };
List<Apptigent.MSGraphEvent> results =
Apptigent.GetMSGraphEventById.getEventById(
new List<Apptigent.GetMSGraphEventById.GetMSGraphEventByIdInput>{ request }
);
System.debug(results);
Use in a Lightning Web Component
This collection helper is not exported by msEntraConnectorLib. Search a previously retrieved JavaScript collection with items.find(item => item && item.id === id) || null; this performs no callout. Use the item model expected by the helper rather than a response wrapper.
Error handling and troubleshooting
| Symptom | What to check |
|---|---|
| Null match | Check the collection model and ID. Missing matches are expected null results. |