MS Teams Live - adding attendees

Lucas 0 Reputation points
2023-01-12T13:53:19.3533333+00:00

Hi,

Are there API interfaces to control MS Teams Live events? We would like to create a bespoke event registration page (kind of a middle-man), that would then automatically register user for MS Teams Live event. There's a lot of extra info we would like to collect, some of it from a dropdown with pre-set options.

Has anyone ever done anything like this? Are there any examples using Microsoft Graph API?

Thanks in advance

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,154 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,715 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Lucas 0 Reputation points
    2023-01-13T08:33:47.6166667+00:00

    Don't know why I didn't try reverse engineering the MS Teams Live event registration page in the first place. You can manually register attendees for a MS Team live events. You need to get a skypeToken first:

    {"tenantId": "<tenant_id>"}

    Set x-skypetoken header to skypeToken returned from first request Include all required information in POST body:

    {"Questions": [ {"InternalName":"PredefinedQuestionFirstName","Value":"foo"} ... ], "TimezoneOffset":0,"LocalizedTimezone":"(UTC+00:00) Dublin, Edinburgh, Lisbon, London","Language":"en-us","TimeZoneDetails":{"TimeZone":"GMT Standard Time","UtcOffset":0}}

    If you're not sure what the POST for second request should look like, you can always register for event in browser, with Developers Console open, and check value of POST body in request.

    0 comments No comments