Send a Teams Invitation to a Guest User

%3CLINGO-SUB%20id%3D%22lingo-sub-1584037%22%20slang%3D%22en-US%22%3ESend%20a%20Teams%20Invitation%20to%20a%20Guest%20User%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1584037%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20add%20a%20button%20on%20our%20website%20so%20our%20users%20can%20join%20our%20Teams%20channel%20as%20guests.%20I've%20looked%20in%20the%20api%20and%20I%20don't%20see%20how%20to%20send%20an%20invitation.%20Is%20this%20possible%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1584037%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Einvitation%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1584064%22%20slang%3D%22en-US%22%3ERe%3A%20Send%20a%20Teams%20Invitation%20to%20a%20Guest%20User%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1584064%22%20slang%3D%22en-US%22%3EThe%20user%20must%20be%20invited%20as%20a%20guest%20to%20the%20org%20before%20being%20able%20to%20be%20added%20to%20a%20team.%20There%20is%20API%E2%80%99s%20for%20this%3A%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Finvitation-post%3Fview%3Dgraph-rest-1.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Finvitation-post%3Fview%3Dgraph-rest-1.0%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAdam%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I want to add a button on our website so our users can join our Teams channel as guests. I've looked in the api and I don't see how to send an invitation. Is this possible?

1 Reply
Highlighted
The user must be invited as a guest to the org before being able to be added to a team. There is API’s for this:

https://docs.microsoft.com/en-us/graph/api/invitation-post?view=graph-rest-1.0

Adam