pnp/cli-microsoft365

Bug report: Login via Entra App doesnt work

Open

#6,916 创建于 2025年9月19日

在 GitHub 查看
 (9 评论) (1 反应) (0 负责人)TypeScript (399 fork)auto 404
bughelp wanted

仓库指标

Star
 (1,390 star)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南