Sharing custom URI scheme in chat?

%3CLINGO-SUB%20id%3D%22lingo-sub-2339566%22%20slang%3D%22en-US%22%3ESharing%20custom%20URI%20scheme%20in%20chat%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2339566%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20built%20a%20custom%20URI%20scheme%20that%20calls%20a%20local%20app%20for%20my%20users.%20It%20looks%20something%20like%20this%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Etlg%3A%7C%5Cfolder1%5Cfolder2%5Cfile.txt%7C2021%2F05%2F10%252008%3A35%3A00%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20works%20no%20problem%20from%20Excel%2C%20Word%2C%20Outlook%2C%20Chrome%2C%20etc%20(obviously%20it%20asks%20the%20user%20permission%20to%20run%20it%20first%2C%20which%20is%20what%20I%20want).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20pasating%20the%20hyperlink%20into%20a%20chat%20in%20Teams%20removes%20the%20link%20content.%20So%20it's%20a%20hyperlink%2C%20with%20the%20correct%20text%2C%20but%20the%20link%20content%20is%20removed%20and%20replaced%20by%20%22%3CA%20href%3D%22https%3A%2F%2Fteams.microsoft.com%2F_%26quot%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fteams.microsoft.com%2F_%22%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20Teams%20just%20not%20support%20custom%20URI%20schemes%20like%20all%20the%20other%20MS%20products%20do%3F%20Or%20is%20there%20some%20security%20setting%20somewhere%20I%20need%20to%20change%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2339566%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2381482%22%20slang%3D%22en-US%22%3ERe%3A%20Sharing%20custom%20URI%20scheme%20in%20chat%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2381482%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1049328%22%20target%3D%22_blank%22%3E%40PaulBuckland%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BYou%20might%20find%20the%20info%20in%20this%20past%20post%20helpful%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fmicrosoft-teams%2Fwhat-is-the-uri-scheme-in-order-to-open-ms-teams-from-another%2Fm-p%2F970443%2Fthread-id%2F40392%23M44136%22%20target%3D%22_blank%22%3EWhat%20is%20the%20URI%20scheme%20in%20order%20to%20open%20MS%20Teams%20from%20another%20APP%20(deep%20link)%20%3F%20-%20Microsoft%20Tech%20Community%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi,

 

I have built a custom URI scheme that calls a local app for my users. It looks something like this:

 

tlg:|\folder1\folder2\file.txt|2021/05/10%2008:35:00

 

It works no problem from Excel, Word, Outlook, Chrome, etc (obviously it asks the user permission to run it first, which is what I want).

 

However, pasating the hyperlink into a chat in Teams removes the link content. So it's a hyperlink, with the correct text, but the link content is removed and replaced by "https://teams.microsoft.com/_"

 

Does Teams just not support custom URI schemes like all the other MS products do? Or is there some security setting somewhere I need to change?

 

Thanks!

2 Replies

@ThereseSolimeno thanks but that's not the direction I'm interested in.

 

I want to invoke my custom URI scheme from a link pasted into a Teams chat. But the link works fine in Office apps but is not clickable in Teams chats.

 

Any ideas? Thanks!