APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
Permission type
Least privileged permissions
Higher privileged permissions
Delegated (work or school account)
OnlineMeetings.ReadWrite
Not available.
Delegated (personal Microsoft account)
Not supported.
Not supported.
Application
Not supported.
Not supported.
HTTP request
PATCH /me/onlineMeetings/{id}/registration
Request headers
Name
Description
Authorization
Bearer {token}. Required.
Request body
In the request body, supply only the properties that need to be updated in a JSON representation of a meetingRegistration object.
Tip
All properties that are not read only can be updated, with the exception of the allowedRegistrant property.
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Beta.Models;
var requestBody = new MeetingRegistration
{
Subject = "Microsoft Ignite: Day 1",
StartDateTime = DateTimeOffset.Parse("2021-11-02T08:00:00-08:00"),
EndDateTime = DateTimeOffset.Parse("2021-11-02T15:45:00-08:00"),
Speakers = new List<MeetingSpeaker>
{
new MeetingSpeaker
{
DisplayName = "Henry Ross",
Bio = "Chairman and Chief Executive Officer",
},
new MeetingSpeaker
{
DisplayName = "Fred Ryan",
Bio = "CVP",
},
},
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Me.OnlineMeetings["{onlineMeeting-id}"].Registration.PatchAsync(requestBody);
Important
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
// THE CLI IS IN PREVIEW. NON-PRODUCTION USE ONLY
mgc-beta users online-meetings registration patch --user-id {user-id} --online-meeting-id {onlineMeeting-id} --body '{\
"subject":"Microsoft Ignite: Day 1",\
"startDateTime":"2021-11-02T08:00:00-08:00",\
"endDateTime":"2021-11-02T15:45:00-08:00",\
"speakers": [\
{\
"displayName": "Henry Ross",\
"bio": "Chairman and Chief Executive Officer"\
},\
{\
"displayName": "Fred Ryan",\
"bio": "CVP"\
}\
]\
}\
'
Important
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
<?php
// THIS SNIPPET IS A PREVIEW VERSION OF THE SDK. NON-PRODUCTION USE ONLY
$graphServiceClient = new GraphServiceClient($tokenRequestContext, $scopes);
$requestBody = new MeetingRegistration();
$requestBody->setSubject('Microsoft Ignite: Day 1');
$requestBody->setStartDateTime(new \DateTime('2021-11-02T08:00:00-08:00'));
$requestBody->setEndDateTime(new \DateTime('2021-11-02T15:45:00-08:00'));
$speakersMeetingSpeaker1 = new MeetingSpeaker();
$speakersMeetingSpeaker1->setDisplayName('Henry Ross');
$speakersMeetingSpeaker1->setBio('Chairman and Chief Executive Officer');
$speakersArray []= $speakersMeetingSpeaker1;
$speakersMeetingSpeaker2 = new MeetingSpeaker();
$speakersMeetingSpeaker2->setDisplayName('Fred Ryan');
$speakersMeetingSpeaker2->setBio('CVP');
$speakersArray []= $speakersMeetingSpeaker2;
$requestBody->setSpeakers($speakersArray);
$result = $graphServiceClient->me()->onlineMeetings()->byOnlineMeetingId('onlineMeeting-id')->registration()->patch($requestBody)->wait();
Important
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
Import-Module Microsoft.Graph.Beta.CloudCommunications
$params = @{
subject = "Microsoft Ignite: Day 1"
startDateTime = [System.DateTime]::Parse("2021-11-02T08:00:00-08:00")
endDateTime = [System.DateTime]::Parse("2021-11-02T15:45:00-08:00")
speakers = @(
@{
displayName = "Henry Ross"
bio = "Chairman and Chief Executive Officer"
}
@{
displayName = "Fred Ryan"
bio = "CVP"
}
)
}
# A UPN can also be used as -UserId.
Update-MgBetaUserOnlineMeetingRegistration -UserId $userId -OnlineMeetingId $onlineMeetingId -BodyParameter $params
Important
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.
# THE PYTHON SDK IS IN PREVIEW. FOR NON-PRODUCTION USE ONLY
graph_client = GraphServiceClient(credentials, scopes)
request_body = MeetingRegistration(
subject = "Microsoft Ignite: Day 1",
start_date_time = "2021-11-02T08:00:00-08:00",
end_date_time = "2021-11-02T15:45:00-08:00",
speakers = [
MeetingSpeaker(
display_name = "Henry Ross",
bio = "Chairman and Chief Executive Officer",
),
MeetingSpeaker(
display_name = "Fred Ryan",
bio = "CVP",
),
],
)
result = await graph_client.me.online_meetings.by_online_meeting_id('onlineMeeting-id').registration.patch(request_body)
Important
Microsoft Graph SDKs use the v1.0 version of the API by default, and do not support all the types, properties, and APIs available in the beta version. For details about accessing the beta API with the SDK, see Use the Microsoft Graph SDKs with the beta API.