MSTeamsChatExporter icon indicating copy to clipboard operation
MSTeamsChatExporter copied to clipboard

Error while executing the powershell script

Open rahulsnc3it opened this issue 4 months ago • 0 comments

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

rahulsnc3it avatar Feb 21 '24 09:02 rahulsnc3it