telstrapurple / msteamschatexporter Goto Github PK
View Code? Open in Web Editor NEWCode that helps an end-user export their Microsoft Teams Chat History to HTML
License: MIT License
Code that helps an end-user export their Microsoft Teams Chat History to HTML
License: MIT License
When attempting to authenticate to the app, you receive the following error:
AADSTS7000218: The request body must contain the following parameter: ‘client_assertion’ or ‘client_secret’
The fix is to enable "Allow public client flows" under the Authentication settings in your App Registration. Just posting this here in case you want to update the docs, or to save somebody else the trouble of figuring this out.
Great app by the way. Very much appreciate you sharing it with the community.
Hi
I get the following error:
`
Starting script...
Sign in with the Device Code to the app registration:
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code R43455R to authenticate.
Invoke-RestMethod: {"error":"invalid_client","error_description":"AADSTS7000218: The request body must contain the following parameter:
'client_assertion' or 'client_secret'.\r\nTrace ID:xxxxxxxxxxx
`
Any ideas why?
Hi, thanks for the tool. You could adopt ForEach-ObjectFast from powershell.one to improve performance:
https://powershell.one/tricks/performance/pipeline
PowerShell/PowerShell#10982
Currently the final .html files include all images as inline base64 data. The problem is, profile photos are typically repeated many times within a chat, and the data is duplicated every time. This makes the files unnecessarily large.
Here is an idea of how to reuse the same data using CSS: https://stackoverflow.com/a/55762229/675674. Note that SVG, which is also used there, is avoidable too: see the comment. Other answers provide other CSS solutions and a JS one.
The tool works great! I was able to download my 1on1 chats, group chats, and all meeting chats.
If I only wanted to get the 1on1 chats, is there a way that I could ask just for those? A certain query parameter?
We are trying to execute the command and getting below error, we have created Azure AD app with User.Read, Chat.Read and User.ReadBasic.All delegated permissions.
Also it gives URL to login with device code after successful login it throws below error
Error: Invoke-RestMethod: { "error": "invalid_client", "error_description": "AADSTS7000218: The request body must contain the following
parameter: \u0027client_assertion\u0027 or \u0027client_secret\u0027. Trace ID: 8c3a5e4e-2180-4483-8b05-2364b9543700
Correlation ID: be11d035-cc0a-4fee-afe0-7e3eb7142ac7 Timestamp: 2024-02-21 09:51:03Z", "error_codes": [ 7000218
], "timestamp": "2024-02-21 09:51:03Z", "trace_id": "8c3a5e4e-2180-4483-8b05-2364b9543700", "correlation_id":
"be11d035-cc0a-4fee-afe0-7e3eb7142ac7", "error_uri": "https://login.microsoftonline.com/error?code=7000218" }
Being able to download file attachments from chats would be a great addition
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.