VirtualEvent.Read
Allows the app to read virtual events created by you
Permission Details
Read your virtual events
Allows the app to read virtual events created by you
6b616635-ae58-433a-a918-8c45e4f304dc
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
createdBy |
communicationsIdentitySet |
The identity information for the creator of the virtual event. Inherited from virtualEvent. |
description |
itemBody |
A description of the virtual event. |
displayName |
StringNullable |
The display name of the virtual event. |
endDateTime |
dateTimeTimeZone |
The end time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone. |
externalEventInformation |
virtualEventExternalInformation collection |
The external information of a virtual event. Returned only for event organizers or coorganizers; otherwise, null. |
id |
String |
The unique identifier of the virtual event. Inherited from entity. |
settings |
virtualEventSettings |
The virtual event settings. |
startDateTime |
dateTimeTimeZone |
Start time of the virtual event. The timeZone property can be set to any of the time zones currently supported by Windows. For details on how to get all available time zones using PowerShell, see Get-TimeZone. |
status |
virtualEventStatus |
The status of the virtual event. The possible values are: draft, published, canceled, and unknownFutureValue. |
presenters |
virtualEventPresenter collection |
The virtual event presenters. |
sessions |
virtualEventSession collection |
The sessions for the virtual event. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"@odata.type": "#microsoft.graph.virtualEvent",
"createdBy": {
"@odata.type": "microsoft.graph.communicationsIdentitySet"
},
"description": {
"@odata.type": "microsoft.graph.itemBody"
},
"displayName": "String",
"endDateTime": {
"@odata.type": "microsoft.graph.dateTimeTimeZone"
},
"externalEventInformation": [
{
"@odata.type": "microsoft.graph.virtualEventExternalInformation"
}
],
"id": "String (identifier)",
"settings": {
"@odata.type": "microsoft.graph.virtualEventSettings"
},
"startDateTime": {
"@odata.type": "microsoft.graph.dateTimeTimeZone"
},
"status": "String"
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
presenters |
virtualEventPresenter collection |
The virtual event presenters. |
sessions |
virtualEventSession collection |
The sessions for the virtual event. |
events |
virtualEvent collection |
Virtual events in the tenant. |
townhalls |
virtualEventTownhall collection |
Virtual event town halls. |
webinars |
virtualEventWebinar collection |
Virtual event webinars. |
externalEventInformation |
virtualEventExternalInformation collection |
The external information of a virtual event. Returned only for event organizers or coorganizers; otherwise, null. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Solutions.VirtualEvents.Townhalls["{virtualEventTownhall-id}"].Presenters["{virtualEventPresenter-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let virtualEventPresenter = await client.api('/solutions/virtualEvents/townhalls/88b245ac-b0b2-f1aa-e34a-c81c27abdac2@f9448ec4-804b-46af-b810-62085248da33/presenters/831affc2-4c8a-9929-50e7-02964563b6e4')
.get();
Import-Module Microsoft.Graph.Bookings
Get-MgVirtualEventTownhallPresenter -VirtualEventTownhallId $virtualEventTownhallId -VirtualEventPresenterId $virtualEventPresenterId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.solutions.virtual_events.townhalls.by_virtual_event_townhall_id('virtualEventTownhall-id').presenters.by_virtual_event_presenter_id('virtualEventPresenter-id').get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Delegated permissions and search for VirtualEvent.Read
Grant Admin Consent
This delegated permission requires admin consent.