Microsoft Teams - Migrate Chat History - Back to the Future with Graph API
Вставка
- Опубліковано 16 вер 2024
- Learn how to import historic messages into Microsoft Teams (both historic Teams and legacy messages) using the Graph API and Power Automate. You must create an Azure APP registration in order for PowerAutomate to authenticate and access the required endpoints. Did you know that Microsoft Teams launched on 17th March 2017? Today I show you how I go back in time and post messages to teams as non AD Users Marty McFly, Doc Brown, and my AAD user DamoBird365 and make a prediction on 21st October 2015 that everyone will be using Microsoft Teams in the future (albeit Marty was wrong when he predicted we won't be needing roads).
How to Build a Customer Connector and Azure App Registration - • How to create a custom...
Graph API Documentation used in the above demo
docs.microsoft...
Download the sample flow github.com/Dam...
#backtothefuture #microsoftteams #graphapi #migratechathistory Please buy me a coffee www.buymeacoff... ☕
The new team appears to default to external sharing. Is there an option in the Graph API to change this setting? Thank you very much for sharing; it's always very helpful and educational.
I'm trying to follow the steps, but in trying to build my flow like yours, it says that HTTP is a premium feature and I can't use it without upgrading my license. Did you manage to do this with the built-in app triggers/actions or did you have to make custom actions on your connector? (And if so, I tried that also and am getting "Unable to resolve schema" errors on it.
HTTP action will require premium I am afraid. OK for a PoC. You don't need to use Power Automate, I just favour it. Take a look at the most recent guidance here docs.microsoft.com/en-us/microsoftteams/platform/graph-api/import-messages/import-external-messages-to-teams#step-one-create-a-team
Is it possible to use it to do tenant to tenant migration of the whole organization? or had you had such challenge?
I’ve honestly never tried at that scale. This is more to raise awareness of the feature.
Hey, thanks for the guide. I would like to see the powershell equivalent! Nice job, importing messages to teams has been dreadful...
Still not easy if I am honest albeit I am keen to explore a basic Powershell too. What source does your use case require? An existing team or a legacy system? You can also export channel messages via Get-PnPTeamsChannelMessage but this would require a tidy up before import as the imported message types are limited.
@@DamoBird365 I am currently moving a lot of teams Tennant to Tennant. I tried different packages like bittitan and other products. But none of them are doing it well enough for me to pay the fee they ask. Atm I export chat en put them in a html tab.
Interesting, how are you exporting those messages? You might be able to teach me something too! Feel free to drop me an email ideas@damobird365.com.
@@DamoBird365 Once I'm done I'll do some cleaning of the scripts and get back to you.
Hello, i'm looking to do the same thing in PowerShell but i don't find how to do it. Can u please explain me how did u do ?
Hi @DamoBird365, do you have idea about the migration of MS teams chats using Veeam Backup tool?
I am afraid I have never used it - sorry.
@@DamoBird365 I see, thanks so much!
Need help in extracting messages from teams chat and copying to word document
That’s an unusual use case. Can you explain in more detail?
Might suit the forum better powerusers.microsoft.com/
Thanks for the quick response@@DamoBird365, Actually need here is to Triggering a flow that creates a chat in parallel creating a word document and when a new message is added to the chat that should be copied to the word document that is created earlier with timestamps.
How did you connected GRAPH AUTH
Kindly answer this!! I do appreciate ur tutorial but it isn’t complete without answering this
Hi, can you help?
Hi Beth, I’ve replied to your email. Thanks.
Help me
What’s up Mark?