Home

Updated Teams Command Line Tool - Channel Surf

%3CLINGO-SUB%20id%3D%22lingo-sub-106087%22%20slang%3D%22en-US%22%3EUpdated%20Teams%20Command%20Line%20Tool%20-%20Channel%20Surf%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-106087%22%20slang%3D%22en-US%22%3E%3CP%3E(Disclosure%3A%20I%20work%20for%20Microsoft%2C%20but%20not%20as%20a%20member%20of%20the%20Microsoft%20Teams%20group)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20released%20a%20new%20version%20of%20my%20Microsoft%20Teams%20command%20line%20tool%20which%20I've%20called%26nbsp%3BChannel%20Surf.%20%26nbsp%3B%20%26nbsp%3BThe%20existing%20version%20lets%20you%20re-create%20your%20existing%20Slack%20channel%20structure%20in%20Teams%20and%20bulk%20add%20new%20Teams%20channel.%20%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20new%20version%20is%20now%20on%20GitHub%20(%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ftamhinsf%2FChannelSurf%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Ftamhinsf%2FChannelSurf%2F%3C%2FA%3E)%20and%20now%20enables%20you%20to%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3EArchive%20Slack%20messages%20into%20HTML%20files%20and%20store%20them%20in%20Teams%3C%2FLI%3E%3CLI%3ECopy%20Slack%20file%20attachments%20into%20Teams%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFurther%20details%20are%20up%20on%20my%20GitHub%20page.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHow%3F%20Slack%20enables%20a%20team%20owner%20or%20admin%20to%20download%20an%20archive%20of%20a%20their%20team's%20history%2C%20which%20Channel%20Surf%20scans%20and%20then%20uses%20in%20conjunction%20with%20the%20Microsoft%20Graph%20API%20to%20re-create%20Slack%20channels%20within%20Microsoft%20Teams%2C%20generate%20HTML%20message%20archive%20files%2C%20and%20upload%20these%20archives%20and%20associated%20file%20attachments.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%3EIt's%20a%20work-in-progress%20-%20I've%20only%20tested%20this%20on%20a%20couple%20of%20small%20Slack%20archives.%20The%20display%20of%20user%20names%2C%20date%20and%20time%20stamps%2C%20message%20formatting%2C%20and%20viewing%20experience%20will%20be%20improved%20as%20I%20have%20free%20time.%20But%20for%20those%20of%20you%20wanting%2Fneeding%20more%20-%20there's%20always%20the%20fork%20and%20clone%20buttons%20to%20help%20you%20get%20started.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20a%20gentle%20reminder%2C%20I'm%20reliant%20upon%20public%20Microsoft%20Graph%20and%20Teams%20API's.%20%26nbsp%3BThe%20API's%20needed%20to%20perform%20a%20true%20message%20import%20aren't%20yet%20available%3A%20these%20include%20impersonating%20a%20user%2C%20backdating%20the%20creation%20date%20of%20a%20message%2C%20and%20probably%20a%20few%20other%20things%20I%20haven't%20thought%20of.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CSPAN%3EHopefully%20for%20now%2C%20some%20of%20you%20will%20find%20this%20useful%20in%20your%20pursuits.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-106087%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMigrate%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESlack%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-152491%22%20slang%3D%22en-US%22%3ERe%3A%20Updated%20Teams%20Command%20Line%20Tool%20-%20Channel%20Surf%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-152491%22%20slang%3D%22en-US%22%3EIs%20there%20a%20limit%20to%20how%20many%20HTML%20message%20history%20files%20will%20be%20created%3F%20I%20noticed%20in%20the%20command%20prompt%20for%20one%20particular%20channel%20that%20all%20message%20history%20json%20files%20were%20created%20in%20Temp%20but%20only%2018%20were%20uploaded%20to%20MS%20Teams.%3C%2FLINGO-BODY%3E
Tam Huynh
Microsoft

(Disclosure: I work for Microsoft, but not as a member of the Microsoft Teams group)

 

I've released a new version of my Microsoft Teams command line tool which I've called Channel Surf.    The existing version lets you re-create your existing Slack channel structure in Teams and bulk add new Teams channel.  

 

My new version is now on GitHub (https://github.com/tamhinsf/ChannelSurf/) and now enables you to:

 

  • Archive Slack messages into HTML files and store them in Teams
  • Copy Slack file attachments into Teams

 

Further details are up on my GitHub page. 

 

How? Slack enables a team owner or admin to download an archive of a their team's history, which Channel Surf scans and then uses in conjunction with the Microsoft Graph API to re-create Slack channels within Microsoft Teams, generate HTML message archive files, and upload these archives and associated file attachments.

It's a work-in-progress - I've only tested this on a couple of small Slack archives. The display of user names, date and time stamps, message formatting, and viewing experience will be improved as I have free time. But for those of you wanting/needing more - there's always the fork and clone buttons to help you get started. 

 

As a gentle reminder, I'm reliant upon public Microsoft Graph and Teams API's.  The API's needed to perform a true message import aren't yet available: these include impersonating a user, backdating the creation date of a message, and probably a few other things I haven't thought of.


Hopefully for now, some of you will find this useful in your pursuits.

1 Reply
Is there a limit to how many HTML message history files will be created? I noticed in the command prompt for one particular channel that all message history json files were created in Temp but only 18 were uploaded to MS Teams.
Related Conversations
Start a call from Teams channel view
Yossi Leon in Microsoft Teams on
8 Replies
What's new in Edge insider Canary Version 79.0.290.0
HotCakeX in Discussions on
4 Replies
Teams error code - 6
damnit95 in Office 365 on
4 Replies