Giter Club home page Giter Club logo

msteamschatexporter's People

Contributors

trentsteenholdt-purple avatar trentsteenholdt-readify avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

msteamschatexporter's Issues

AADSTS7000218: The request body must contain the following parameter: ‘client_assertion’ or ‘client_secret’

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.

Error Trying to run script

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?

Reduce .html size by avoiding duplicating image data

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.

Can this be limited to 1 on 1 chats?

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?

Error while executing the powershell script

image

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" }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.