Open file in MS teams as hyperlink in wiki

%3CLINGO-SUB%20id%3D%22lingo-sub-868652%22%20slang%3D%22en-US%22%3EOpen%20file%20in%20MS%20teams%20as%20hyperlink%20in%20wiki%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-868652%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPreviously%20I%20used%20to%20be%20able%20to%20upload%20files%20and%20get%20a%20link%20to%20it%20that%20when%20I%20put%20in%20wiki%20as%20a%20reference%2C%20the%20file%20would%20open%20in%20MS%20teams.%20It%20was%20giving%20a%20link%20(%3CA%20href%3D%22https%3A%2F%2Fteams.microsoft.com%2Fl%2Ffile%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fteams.microsoft.com%2Fl%2Ffile%2F%3C%2FA%3E.)%20This%20hyperlink%20would%20open%20in%20MS%20teams%20and%20was%20greatly%20convenient.%20Now%20something%20has%20changed%20and%20when%20I%20try%20to%20get%20a%20link%20for%20an%20uploaded%20file%20it%20gives%20me%20a%20sharepoint%20link%20(%3CA%20href%3D%22https%3A%2F%2Fkochind.sharepoint.com%2F%3Ab%3A%2Fs%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fkochind.sharepoint.com%2F%3Ab%3A%2Fs%2F%3C%2FA%3E)%20to%20that%20file%20which%20when%20you%20click%20in%20wiki%20doesnt%20open%20in%20MS%20teams%20but%20rather%20takes%20you%20to%20sharepoint%20webpage.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20way%20for%20me%20to%20get%20a%20link%20to%20the%20file%20but%20that%20link%20is%20a%20teams.microsoft.com%2Fl%2Ffile%20so%20that%20I%20can%20open%20the%20file%20within%20MS%20teams%3F%20The%20older%20links%20to%20file%20I%20have%20in%20this%20format%20work%2C%20but%20I%20cant%20get%20the%20teams.microsoft.com%2Fl%2Ffile%20link%20to%20it.%20Previously%20when%20you%20tried%20to%20get%20a%20link%20MS%20teams%20gave%20you%20the%20option%20of%20either%20choosing%20the%20MS%20teams%20link%20or%20the%20sharepoint%20link%20but%20now%20I%20can%20only%20get%20the%20sharepoint%20link%20which%20I%20dont%20want!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-868652%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETips%20%26amp%3B%20Tricks%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-869699%22%20slang%3D%22en-US%22%3ERe%3A%20Open%20file%20in%20MS%20teams%20as%20hyperlink%20in%20wiki%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-869699%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F412921%22%20target%3D%22_blank%22%3E%40Uzair_S_Ahmed%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20my%20testing%2C%20still%2C%20the%20%22Get%20link%22%20function%20supports%20two%20types%20of%20links%20(Teams%20and%20SharePoint%20links)%2C%20but%20only%20for%20the%20specific%20type%20of%20files%20(ex%3A%20Excel%2C%20Word%2C%20etc)%20which%20can%20be%20opened%20from%20Teams%20client.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHope%20you%20can%20get%20Teams%20URL%20only%20for%20Office%20files%20(Excel%2C%20Word%2C%20PDF%2C%20PPTX)%20and%20when%20you%20try%20the%26nbsp%3B%22Get%20link%22%20feature%20for%20image%20files%20(ex%3A%20.png)%2C%20you%20will%20see%20the%20SharePoint%20URL%20alone.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1150606%22%20slang%3D%22en-US%22%3ERe%3A%20Open%20file%20in%20MS%20teams%20as%20hyperlink%20in%20wiki%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1150606%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F38365%22%20target%3D%22_blank%22%3E%40Kevin%20Morgan%3C%2FA%3E%26nbsp%3Bhas%20this%20now%20changed%3F%20I'm%20only%20getting%20the%20Sharepoint%20one%2C%20I'm%20testing%20with%20.docx%20files.%20This%20means%20the%20links%20open%20within%20your%20browser%2C%20rather%20than%20within%20Teams%2C%20which%20is%20what%20I%20want.%20Existing%20Teams%20links%20still%20work%2C%20but%20I%20can't%20seem%20to%20create%20new%20ones.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1151717%22%20slang%3D%22en-US%22%3ERe%3A%20Open%20file%20in%20MS%20teams%20as%20hyperlink%20in%20wiki%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1151717%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F544766%22%20target%3D%22_blank%22%3E%40Kirk-Anderson%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20my%20latest%20testing%2C%20still%20the%20Get%20Link%20(%3CSTRONG%3ECopy%20link%3C%2FSTRONG%3E)%20for%20.docx%20file%20working%20fine.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20604px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F169069i5F4403ABA11BC66C%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22teams-getlink.png%22%20title%3D%22teams-getlink.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hi, 

 

Previously I used to be able to upload files and get a link to it that when I put in wiki as a reference, the file would open in MS teams. It was giving a link (https://teams.microsoft.com/l/file/.) This hyperlink would open in MS teams and was greatly convenient. Now something has changed and when I try to get a link for an uploaded file it gives me a sharepoint link (https://kochind.sharepoint.com/:b:/s/) to that file which when you click in wiki doesnt open in MS teams but rather takes you to sharepoint webpage.  

 

Is there a way for me to get a link to the file but that link is a teams.microsoft.com/l/file so that I can open the file within MS teams? The older links to file I have in this format work, but I cant get the teams.microsoft.com/l/file link to it. Previously when you tried to get a link MS teams gave you the option of either choosing the MS teams link or the sharepoint link but now I can only get the sharepoint link which I dont want!

5 Replies
Highlighted

@Uzair_S_Ahmed 

 

In my testing, still, the "Get link" function supports two types of links (Teams and SharePoint links), but only for the specific type of files (ex: Excel, Word, etc) which can be opened from Teams client. 

 

Hope you can get Teams URL only for Office files (Excel, Word, PDF, PPTX) and when you try the "Get link" feature for image files (ex: .png), you will see the SharePoint URL alone.

Highlighted

@Kevin Morgan has this now changed? I'm only getting the Sharepoint one, I'm testing with .docx files. This means the links open within your browser, rather than within Teams, which is what I want. Existing Teams links still work, but I can't seem to create new ones.

Highlighted

@Kirk-Anderson 

 

In my latest testing, still the Get Link (Copy link) for .docx file working fine.

teams-getlink.png

Highlighted

@Kevin Morgan I tried it at home last night on the free version, and still get the two options. Can it be disabled by admin?

Highlighted

@Kevin Morgan Just noticed a difference, in your image, the option is "Get Link". Our only option is "Copy Link".