OfficeDev / microsoft-teams-library-js

JavaScript library for use by Microsoft Teams apps
https://docs.microsoft.com/microsoftteams/platform/
Other
426 stars 193 forks source link

startCall function fails if target belongs to different tenant #2403

Open deryck8902 opened 1 month ago

deryck8902 commented 1 month ago

Hey Everyone!

I ran into the issue, I would like to use the startCall funtion of the library to call a bot.

If the bot is the same tenant as the user then it is working fine, but if the bot is in different tenant i just got the error (see the attached picture above).

image

This part of my code is pretty simple:

` call.startCall({ targets: [this.target], requestedModalities: [call.CallModalities.Audio], });

Thanks a lot!`

microsoft-github-policy-service[bot] commented 1 month ago

Hi deryck8902! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

Meghana-MSFT commented 1 month ago

@deryck8902 - call.startCall is used start calls with other users. Whereas in the question you have mentioned that

I would like to use the startCall funtion of the library to call a bot.

Could you please confirm if you are using this to start call with other user or bot?

deryck8902 commented 1 month ago

@Meghana-MSFT thanks for checking it. A small note from my side is that, it was working the Teams v1 since we switched to the new UI it stopped working.

User wants to call a bot.