Home

Programatically accessing files shared in teams

%3CLINGO-SUB%20id%3D%22lingo-sub-763916%22%20slang%3D%22en-US%22%3EProgramatically%20accessing%20files%20shared%20in%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-763916%22%20slang%3D%22en-US%22%3E%3CP%3EMy%20group%20has%20filed%20stored%20in%20teams%20channels.%20They're%20basically%20using%20excel%20files%20for%20data%20entry.%20I'd%20like%20to%20access%20them%20automatically%2Fprogramatically%20for%20data%20analysis.%3C%2FP%3E%3CP%3EIdeally%20in%20Python%2C%20but%20I'm%20open%20to%20any%20language.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EANY%20solution%20that%20automatically%20mirrors%20a%20Teams%20file%20to%20a%20hard%20drive%20would%20be%20wonderful%20as%20an%20alternative.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20is%20a%20REST%20API%20for%20365%20but%20it%20doesn't%20seem%20to%20provide%20the%20functionality%20I%20need%20based%20on%20the%20Microsoft.com%20docs%2C%20it's%20only%20for%20accessing%20files%20in%20public%20chat%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%20my%20stack%20overflow%20post%20here%20if%20you%20want%20to%20dive%20into%20some%20code%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fquestions%2F57103597%2Fgrabbing-files-from-microsoft-teams-using-python%3Fnoredirect%3D1%23comment100729051_57103597%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstackoverflow.com%2Fquestions%2F57103597%2Fgrabbing-files-from-microsoft-teams-using-python%3Fnoredirect%3D1%23comment100729051_57103597%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-763916%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-766335%22%20slang%3D%22en-US%22%3ERe%3A%20Programatically%20accessing%20files%20shared%20in%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-766335%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F378700%22%20target%3D%22_blank%22%3E%40cklapperichmn%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20hope%20I%20get%20your%20needs%20right.%20From%20my%20point%20of%20view%2C%20you%20just%20need%20to%20build%20a%20flow%20that%20copies%20the%20files%20from%20the%20SharePoint%20Online%20folder%20to%20another%20place%20where%20you%20can%20grab%20them%3F%20Maybe%20you%20should%20have%20a%20look%20at%20this%20option...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESven%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-768234%22%20slang%3D%22en-US%22%3ERe%3A%20Programatically%20accessing%20files%20shared%20in%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-768234%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F252930%22%20target%3D%22_blank%22%3E%40svenseidenberg%3C%2FA%3EThanks%20so%20much.%20You%20have%20a%20good%20grasp%20of%20my%20problem%2Fneeds%2C%20yp!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20manged%20to%20set%20up%20a%20%22folder%20sync%22%20that%20moves%20them%20to%20a%20local%20place%20on%20my%20C%3A%5C%20drive%20but%20a%20network%20drive%20would%20be%20cooler.%20Now%20people%20edit%20documents%20in%20teams%20and%20it%20shows%20up%20on%20my%20hard%20drive!%20I%20can't%20figure%20out%20how%20to%20change%20the%20sync%20to%20another%20folder.%20is%20there%20a%20way%20to%20do%20this%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOr%2C%20any%20good%20tutorials%20for%20setting%20up%20a%20flow%20to%20move%20from%20Sharepoint%20to%20a%20network%20dir%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E
cklapperichmn
New Contributor

My group has filed stored in teams channels. They're basically using excel files for data entry. I'd like to access them automatically/programatically for data analysis.

Ideally in Python, but I'm open to any language.

 

ANY solution that automatically mirrors a Teams file to a hard drive would be wonderful as an alternative. 

 

There is a REST API for 365 but it doesn't seem to provide the functionality I need based on the Microsoft.com docs, it's only for accessing files in public chat?

 

See my stack overflow post here if you want to dive into some code: https://stackoverflow.com/questions/57103597/grabbing-files-from-microsoft-teams-using-python?noredi...

2 Replies

Hi @cklapperichmn,

 

I hope I get your needs right. From my point of view, you just need to build a flow that copies the files from the SharePoint Online folder to another place where you can grab them? Maybe you should have a look at this option...

 

Sven

@svenseidenbergThanks so much. You have a good grasp of my problem/needs, yp!

 

I manged to set up a "folder sync" that moves them to a local place on my C:\ drive but a network drive would be cooler. Now people edit documents in teams and it shows up on my hard drive! I can't figure out how to change the sync to another folder. is there a way to do this?

 

Or, any good tutorials for setting up a flow to move from Sharepoint to a network dir?

 

Thanks.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
35 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
9 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies