Teams Real-Time Media Bot

Highlighted
Visitor

Has anyone here experimented with this bot:
https://github.com/microsoftgraph/microsoft-graph-comms-samples/tree/master/Samples/V1.0Samples/Loca...
After a lot of struggle, I finally managed to run it according to the guide and I have a number of questions
1- Is it possible to run it locally with ngrok
2 - Where I see the logs of this project
3 - Why does it cost me about $ 160 a day even when the machines are not running

1 Reply
Highlighted

@גיא אלדן here are some instructions on how to run your code locally. 

 

We have instructions here on how to run the bot locally.

https://microsoftgraph.github.io/microsoft-graph-comms-samples/docs/articles/Testing.html

 

The key step is to create a wildcard certificate with a custom domain, and then have a CName entry in that domain that redirects to ngrok.io.

https://microsoftgraph.github.io/microsoft-graph-comms-samples/docs/articles/Testing.html#setting-up...

 

This needs to be done because the media platform verifies that the certificate passed in has a subject or SANs with the domain it is trying to reach out to (I.E. so ngrok tcp URI cannot be used directly).