Microsoft Teams has certain restrictions on custom protocols for security reasons. The content-security-policy does limit which protocols are allowed within the Teams client and we are currently not supporting adding new protocols. In fact, over time we'd much rather shrink it and get to a point where we only render https: content within the Teams client.
Thanks,
Prasad Das
*************************************************************************
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.