pnp/cli-microsoft365

Bug report: Login via Entra App doesnt work

Open

#6916 aperta il 19 set 2025

Vedi su GitHub
 (9 commenti) (1 reazione) (0 assegnatari)TypeScript (399 fork)auto 404
bughelp wanted

Metriche repository

Star
 (1390 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Priority

(Urgent) I can't use the CLI

Description

I have my Entra app registered based on guidance. When I tried to log in using browser, it returns error "The redirect URI 'http://localhost:xxxx' specified in the request does not match the redirect URIs configured for the application".

Steps to reproduce

m365 login -authType browser

Expected results

Login and have a token back

Actual results

Can not login

Diagnostics

No response

CLI for Microsoft 365 version

v10.11.0

nodejs version

v20.2.0

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

No response

Guida contributor