SOLVED

Adding external attendees to online meetings

%3CLINGO-SUB%20id%3D%22lingo-sub-2705408%22%20slang%3D%22en-US%22%3EAdding%20external%20attendees%20to%20online%20meetings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2705408%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20I%20would%20like%20to%20add%20external%20attendees%20to%20online%20meetings%20using%20the%20API.%20This%20is%20the%20skeleton%20of%20the%20request%20I'm%20using%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E--%20Patch%20to%20update%20online%20meeting%3CBR%20%2F%3Ecurl%20-d%20'%7B%20%22participants%22%3A%20%7B%20%22attendees%22%3A%20%5B%20%7B%20%22identity%22%3A%20%7B%20%22user%22%3A%20%7B%20%22displayName%22%3A%20%22test1%22%20%7D%20%7D%2C%20%22upn%22%3A%20%22test1%40gmail.com%22%2C%20%22role%22%3A%20%22attendee%22%7D%20%5D%20%7D%20%7D'%20-H%20%22Authorization%3A%20Bearer%20%3CMY%20token%3D%22%22%3E%22%20-H%20%22Content-Type%3A%20application%2Fjson%22%20-X%20PATCH%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fusers%2F%26lt%3BMY%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fusers%2F%3CMY%3E%3C%2FMY%3E%3C%2FA%3E%26nbsp%3BUSER%20ID%26gt%3B%2FonlineMeetings%2F%3CMEETING%20id%3D%22%22%3E%3CBR%20%2F%3E%3CBR%20%2F%3EInside%20the%20response%20I%20got%20this%20attendee%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FMEETING%3E%3C%2FMY%3E%3C%2FP%3E%3CP%3E%22attendees%22%3A%5B%7B%3CBR%20%2F%3E%26nbsp%3B%20%22upn%22%3A%22test1%40gmail.com%22%2C%3CBR%20%2F%3E%26nbsp%3B%20%22role%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%22identity%22%3A%7B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%22acsUser%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%22spoolUser%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%22phone%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%22guest%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%22encrypted%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%22onPremises%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%22acsApplicationInstance%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%22spoolApplicationInstance%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%22applicationInstance%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%22application%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%22device%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%22user%22%3A%7B%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%22id%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%22displayName%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%22tenantId%22%3Anull%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%22identityProvider%22%3A%22MSA%22%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%7D%3CBR%20%2F%3E%26nbsp%3B%20%7D%3C%2FP%3E%3CP%3E%7D%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThe%20first%20thing%20I%20noticed%20was%20that%20according%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fresources%2Fmeetingparticipantinfo%3Fview%3Dgraph-rest-1.0%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ethe%20documentation%3C%2FA%3E%20an%20attendee%20doesn't%20have%20all%20this%20properties.%20Does%20it%20need%20to%20be%20updated%3F%20Also%2C%20I%20passed%20a%20value%20to%20the%20role%20property%2C%20but%20it%20has%20been%20nullified.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20is%20the%20proper%20way%20to%20add%20external%20attendees%20that%20aren't%20Teams%20members%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20anyone%20provide%20an%20example%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2705408%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGuest%20Access%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMeetings%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2707940%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20external%20attendees%20to%20online%20meetings%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2707940%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20We%20tried%20with%20the%20json%20you%20provided%20and%20the%20response%20was%20successful%20with%20no%20errors.%20We%20also%20got%20all%20fields%20null%20except%20for%20upn.%20You%20will%20get%20similar%20behavior%20for%20users%20within%20tenant.%20Also%20can%20you%20see%20the%20external%20user%20in%20participants%20list%20%3F%20There%20is%20already%20a%20bug%20raised%20for%20this%20as%20members%20added%20with%20email%20are%20not%20visible%20in%20participants%20list.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello, I would like to add external attendees to online meetings using the API. This is the skeleton of the request I'm using:

 

-- Patch to update online meeting
curl -d '{ "participants": { "attendees": [ { "identity": { "user": { "displayName": "test1" } }, "upn": "test1@gmail.com", "role": "attendee"} ] } }' -H "Authorization: Bearer <MY TOKEN>" -H "Content-Type: applicationhttps://techcommunity.microsoft.com/json" -X PATCH https://graph.microsoft.com/v1.0/users/<MY USER ID>/onlineMeetings/<MEETING ID>

Inside the response I got this attendee:

"attendees":[{
  "upn":"test1@gmail.com",
  "role":null,
  "identity":{
    "acsUser":null,
    "spoolUser":null,
    "phone":null,
    "guest":null,
    "encrypted":null,
    "onPremises":null,
    "acsApplicationInstance":null,
    "spoolApplicationInstance":null,
    "applicationInstance":null,
    "application":null,
    "device":null,
    "user":{

       "id":null,
       "displayName":null,
       "tenantId":null,
       "identityProvider":"MSA"
    }
  }

}


The first thing I noticed was that according the documentation an attendee doesn't have all those properties. Does it need to be updated? Also, I passed a value to the role property, but it has been nullified.

 

What is the proper way to add external attendees that aren't Teams members?

 

Could anyone provide an example?

 

Thank you!

1 Reply
best response confirmed by ChetanSharma-msft (Microsoft)
Solution

Hi, We tried with the json you provided and the response was successful with no errors. We also got all fields null except for upn. You will get similar behavior for users within tenant. Also can you see the external user in participants list ? There is already a bug raised for this as members added with email are not visible in participants list.

Thanks

www.000webhost.com