Forum Discussion
Creating Hyperlink for Microsoft Teams call dynamically
AmDkDe -
You can generate deep link to call in MS Teams using below format:
Make an audio call: https://teams.microsoft.com/l/call/0/0?users=<user1>,<user2>
Make an audio and video call: https://teams.microsoft.com/l/call/0/0?users=<user1>,<user2>&withVideo=true
Make an audio and video call to a combination of VoIP and PSTN users: https://teams.microsoft.com/l/call/0/0?users=<user1>,4:<phonenumber>
Thanks,
Prasad Das
---------------------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.
This opens the url in my browser first, before opening teams. Is there a way to direct the url immediately to (new) Teams?
- Prasad_Das-MSFTApr 10, 2024Microsoft
DelphiV4 - We checked this by creating an audio call with other two users via deep link in New Teams web and desktop client, however the call is not getting redirected to web browser. It works as expected creating the call within Teams showing this below pop up.
Tested using Microsoft Teams version24096.2100.2802.2509.
The client version is 49/24040701700.- DelphiV4Apr 10, 2024Copper Contributor
For me it doesn't work, it always opens in the browser first, even if I've checked 'allow to open in teams'.
However, my teams version isn't the same, but it states I have the most recent version
I've also tried it with different users on different pc's and sometimes even nothing happens (even though they have the same teams version, settings etc)
- danielnegrubilchJun 20, 2024Copper Contributor
I'm pretty sure its because you click the link in an email and Prasad click the link in a teams chat. I have not tested this- but i'm thinking thats why.
I have the same issue here and looking for asolution.. direct call from a click in a signature to open teams. (between mobile outlook and mobile teams)