I am trying to create Teams meetings programmatically using the onlineMeetings API endpoint. I'm having trouble setting the meeting attendees. Although I specify a valid UPN, user id, Azure AD tenant ID, and role of 'presenter', the attendee is added using 'MSA' (Microsoft account?) with a role of 'attendee' - see below.
Can anyone advise if I'm missing something?
Thanks!!
Relevant part of my request:
"participants": {
"attendees": [
{
"upn": "<upn>",
"role": "presenter",
"identity": {
"user": {
"id": "<user id>",
"tenantId": "<tenant id>",
"identityProvider": "AAD"
}
}
}
]
}
The response from Graph API:
"participants": {
"attendees": [
{
"upn": "<upn>",
"role": null,
"identity": {
"phone": null,
"guest": null,
"encrypted": null,
"onPremises": null,
"applicationInstance": null,
"application": null,
"device": null,
"user": {
"id": "<user id>",
"displayName": null,
"tenantId": null,
"identityProvider": "MSA"
}
}
}
],