Migrate Microsoft Teams Threads to Discourse Posts

AI-generated summary

EaZee shared a custom solution for migrating select Microsoft Teams chat threads to Discourse as forum posts using Power Automate. The process is triggered manually per thread, sends content to a ‘sanitization’ category for admin review (to filter customer data), and can be repurposed as quick knowledge base articles. EaZee noted this isn’t scalable for large migrations but appreciates the flexibility of the Discourse API. pfaffman agreed that large-scale migrations via API are typically slow due to rate limits, but praised the approach as practical for small, targeted imports. EaZee reiterated the solution’s limitations while expressing enthusiasm for Discourse’s capabilities as a new administrator. The walkthrough is available on EaZee’s blog.

I had a need to migrate select chat threads from Microsoft Teams to Discourse and present them as forum posts. I wasn’t finding a plugin that performed this task for me, and again, I wanted to manually trigger per thread that should be pushed.

Attached is a walkthrough I did on my blog that uses Power Automate to capture a thread via a Keyword and then push into our Discourse environment. This sends the thread into a ‘sanitization’ category in our Discourse for our admin to filter any customer data and then present as quickie KBs.

If this type of post isn’t allowed, apologies.

https://www.codethethings.com/index.php/2022/04/15/using-power-automate-with-teams-and-discourse/

Very interesting! It’s usually not feasible to do a large-scale migration via the API because it’s slow (and will usually need to be made even slower if you can’t figure out how to get around rate limits), but this seems like a good solution for small imports like yours!

Thanks for sharing!

Definitely agree it’s not a large scale solution, but pretty neat the API offers the ability to do this. I’m brand new to administrating Discourse, but powerful stuff!