MS Entra – Events – Get Event From Event Items

Estimated reading: 6 minutes

MS Entra – Events – Get Event From Event Items

Get an event from a collection of events by id.

Action details

PropertyValue
Action labelMS Entra – Events – Get Event From Event Items
CategoryCloudTools
Apex class and methodGetMSGraphEventById.getEventById
Input typeGetMSGraphEventById.GetMSGraphEventByIdInput
Output typeList<MSGraphEvent>
AuthorizationNo 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

InputApex fieldTypeRequiredDescription
IdidStringYesEvent id to find
ItemsitemsList<MSGraphEvent>YesEvents to search

Items fields (MSGraphEvent)

FieldApex fieldTypeRequiredDescription
ididStringNoMapped drive item property; populated only when returned and supported by the resource.
odataEtagodataEtagStringNoMapped drive item property; populated only when returned and supported by the resource.
subjectsubjectStringNoMapped drive item property; populated only when returned and supported by the resource.
bodyPreviewbodyPreviewStringNoMapped drive item property; populated only when returned and supported by the resource.
bodybodyMSGraphEventBodyNoMapped drive item property; populated only when returned and supported by the resource.
startTimestartTimeMSGraphDateTimeTimeZoneNoMapped drive item property; populated only when returned and supported by the resource.
endTimeendTimeMSGraphDateTimeTimeZoneNoMapped drive item property; populated only when returned and supported by the resource.
originalStartTimeZoneoriginalStartTimeZoneStringNoMapped drive item property; populated only when returned and supported by the resource.
originalEndTimeZoneoriginalEndTimeZoneStringNoMapped drive item property; populated only when returned and supported by the resource.
locationlocationMSGraphEventLocationNoMapped drive item property; populated only when returned and supported by the resource.
isAllDayisAllDayBooleanNoMapped drive item property; populated only when returned and supported by the resource.
showAsshowAsStringNoMapped drive item property; populated only when returned and supported by the resource.
isCancelledisCancelledBooleanNoMapped drive item property; populated only when returned and supported by the resource.
isOrganizerisOrganizerBooleanNoMapped drive item property; populated only when returned and supported by the resource.
importanceimportanceStringNoMapped drive item property; populated only when returned and supported by the resource.
sensitivitysensitivityStringNoMapped drive item property; populated only when returned and supported by the resource.
categoriescategoriesList<String>NoMapped drive item property; populated only when returned and supported by the resource.
createdDateTimecreatedDateTimeStringNoMapped drive item property; populated only when returned and supported by the resource.
lastModifiedDateTimelastModifiedDateTimeStringNoMapped drive item property; populated only when returned and supported by the resource.
changeKeychangeKeyStringNoMapped drive item property; populated only when returned and supported by the resource.
iCalUIdiCalUIdStringNoMapped drive item property; populated only when returned and supported by the resource.
webLinkwebLinkStringNoMapped drive item property; populated only when returned and supported by the resource.
isReminderOnisReminderOnBooleanNoMapped drive item property; populated only when returned and supported by the resource.
reminderMinutesBeforeStartreminderMinutesBeforeStartIntegerNoMapped drive item property; populated only when returned and supported by the resource.
eventTypeeventTypeStringNoMapped drive item property; populated only when returned and supported by the resource.
onlineMeetingUrlonlineMeetingUrlStringNoMapped drive item property; populated only when returned and supported by the resource.
isOnlineMeetingisOnlineMeetingBooleanNoMapped drive item property; populated only when returned and supported by the resource.
onlineMeetingProvideronlineMeetingProviderStringNoMapped drive item property; populated only when returned and supported by the resource.
organizerorganizerMSGraphEventOrganizerNoMapped drive item property; populated only when returned and supported by the resource.
responseStatusresponseStatusMSGraphEventResponseStatusNoMapped drive item property; populated only when returned and supported by the resource.
attendeesattendeesList<MSGraphEventAttendee>NoMapped 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.

OutputApex fieldTypeDescription
ididStringMapped drive item property; populated only when returned and supported by the resource.
odataEtagodataEtagStringMapped drive item property; populated only when returned and supported by the resource.
subjectsubjectStringMapped drive item property; populated only when returned and supported by the resource.
bodyPreviewbodyPreviewStringMapped drive item property; populated only when returned and supported by the resource.
bodybodyMSGraphEventBodyMapped drive item property; populated only when returned and supported by the resource.
startTimestartTimeMSGraphDateTimeTimeZoneMapped drive item property; populated only when returned and supported by the resource.
endTimeendTimeMSGraphDateTimeTimeZoneMapped drive item property; populated only when returned and supported by the resource.
originalStartTimeZoneoriginalStartTimeZoneStringMapped drive item property; populated only when returned and supported by the resource.
originalEndTimeZoneoriginalEndTimeZoneStringMapped drive item property; populated only when returned and supported by the resource.
locationlocationMSGraphEventLocationMapped drive item property; populated only when returned and supported by the resource.
isAllDayisAllDayBooleanMapped drive item property; populated only when returned and supported by the resource.
showAsshowAsStringMapped drive item property; populated only when returned and supported by the resource.
isCancelledisCancelledBooleanMapped drive item property; populated only when returned and supported by the resource.
isOrganizerisOrganizerBooleanMapped drive item property; populated only when returned and supported by the resource.
importanceimportanceStringMapped drive item property; populated only when returned and supported by the resource.
sensitivitysensitivityStringMapped drive item property; populated only when returned and supported by the resource.
categoriescategoriesList<String>Mapped drive item property; populated only when returned and supported by the resource.
createdDateTimecreatedDateTimeStringMapped drive item property; populated only when returned and supported by the resource.
lastModifiedDateTimelastModifiedDateTimeStringMapped drive item property; populated only when returned and supported by the resource.
changeKeychangeKeyStringMapped drive item property; populated only when returned and supported by the resource.
iCalUIdiCalUIdStringMapped drive item property; populated only when returned and supported by the resource.
webLinkwebLinkStringMapped drive item property; populated only when returned and supported by the resource.
isReminderOnisReminderOnBooleanMapped drive item property; populated only when returned and supported by the resource.
reminderMinutesBeforeStartreminderMinutesBeforeStartIntegerMapped drive item property; populated only when returned and supported by the resource.
eventTypeeventTypeStringMapped drive item property; populated only when returned and supported by the resource.
onlineMeetingUrlonlineMeetingUrlStringMapped drive item property; populated only when returned and supported by the resource.
isOnlineMeetingisOnlineMeetingBooleanMapped drive item property; populated only when returned and supported by the resource.
onlineMeetingProvideronlineMeetingProviderStringMapped drive item property; populated only when returned and supported by the resource.
organizerorganizerMSGraphEventOrganizerMapped drive item property; populated only when returned and supported by the resource.
responseStatusresponseStatusMSGraphEventResponseStatusMapped drive item property; populated only when returned and supported by the resource.
attendeesattendeesList<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

SymptomWhat to check
Null matchCheck the collection model and ID. Missing matches are expected null results.

See Entra connector introduction.

Share this Doc

MS Entra – Events – Get Event From Event Items

Or copy link

CONTENTS

Free eBook: The Ultimate Guide to Power Platform Custom Connectors

Antimanual

Ask our AI support assistant your questions about our platform, features, and services.

You are offline
Chatbot avatar
What can I help you with?

Subscribe

×
Cancel