-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ServerError: invalid_client (authentication error) #6038
Comments
I got exactly the same error. I think there is something wrong with --authType certificate. I have to use an earlier version of the M365 cli until this is fixed |
@xinzhaozhang I put @7.7.0 as the fixed version and apparently it worked again. it must be something to do with authType. Tkx! |
Thank you for reporting this issue. This has probably something to do with upgrading MSAL package versions in the last release. |
Created a PR with the fix for this issue. Thank you for bringing this to the surface! We will handle this issue with the necessary urgency. |
@lhdeveloper we've just done a patch release that should solve this issue. BTW thanks @milanholemans for your ASAP action on this issue. You Rock 🤩 |
Thank you to everyone for reporting this problem! |
@Adam-it @milanholemans |
Priority
(Urgent) I can't use the CLI
Description
Earlier today I realized that my pipelines started giving errors when trying to authenticate in my sharepoint environments.
Until last night everything was working perfectly.
Can anyone tell me if there has been an update to the CLI or if we are experiencing any possible instability in the m365 login?
Here's the error log:
Steps to reproduce
Expected results
Login sucess.
Actual results
Login error
Diagnostics
No response
CLI for Microsoft 365 version
lasted version
nodejs version
18.17.1
Operating system (environment)
macOS
Shell
PowerShell
cli doctor
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered: