pnp/cli-microsoft365

Bug report: Login via Entra App doesnt work

Open

#6 916 ouverte le 19 sept. 2025

Voir sur GitHub
 (9 commentaires) (1 réaction) (0 assignés)TypeScript (399 forks)auto 404
bughelp wanted

Métriques du dépôt

Stars
 (1 390 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur