How to Set and Identify Hosts When Creating a Meeting via Microsoft Graph API

onyore 20 Reputation points
2024-11-18T22:33:11.1066667+00:00

Hello,

I am creating online meetings using the Microsoft Graph API and need to distinguish between hosts (organizers) and regular attendees. Specifically, I want to ensure that only designated hosts can perform actions such as recording, while regular attendees are restricted.

My Question:

Is there a way to mark or specify a participant as a "host" or "co-host" in Microsoft Teams meetings via the Graph API? If not, what is the recommended approach to manage host permissions and restrict actions like recording for regular attendees?

I am using the /v1.0/me/onlineMeetings or /v1.0/users/{userId}/events endpoints and would appreciate guidance on managing roles and permissions for meeting participants.

Thank you!

I can create Microsoft Teams meetings using both the Graph API SDK and direct HttpClient requests.

  1. Graph API SDKUser's image
  2. HttpClient
    User's image
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,358 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,630 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
0 comments No comments
{count} votes

Accepted answer
  1. LiweiTian-MSFT 21,060 Reputation points Microsoft Vendor
    2024-11-19T02:32:08.8566667+00:00

    Hi @onyore

    Currently, the Microsoft Graph API does not support marking a participant as a "host" or "co-host" directly.

    However, you can use Teams admin center or PowerShell to prevent meeting participants to record meetings.

    For more information on how to use Teams admin center or PowerShell to organize ordinary participants to record meetings, please refer to Manage Microsoft Teams meeting recording and transcription options for sensitive meetings.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.