I've built a mentor matching app that allows the user to find and connect with someone. Once the user has selected the mentor they want, we want to encourage them to setup a 1-1 chat in Teams and put a meeting (Teams) in the diary between the two of them. I want to enable this through the app.
The user is the current logged in user and the mentor selected is held in the Mentor_DataCard3 field in the screen (People field from sharepoitn list) . I've tried the following code to start a 1-1 chat but it errors out
It doesn't need to do it within the app. Just opening up the chat dialogue in Teams and / or openign up a meeting invite in Teams between the 2 attendees with a title will do.
MicrosoftTeams.CreateChat(DataCardValue28.Selected.Email)
Any ideas how I can get the chat and hopefully the meeting working?

Report
All responses (
Answers (