Priority
(Urgent) I can't use the CLI
Description
When you try to login to CLI using only env var, login fails with Error: : appId is required. TIP: use the "m365 setup" command to configure the default appId
Steps to reproduce
- Clear clientId and tenantId CLI settings
- Configure the CLIMICROSOFT365_ENTRAAPPID and CLIMICROSOFT365_TENANT env vars
m365 login -t browser
Expected results
Login flow
Actual results
Error
Diagnostics
No response
CLI for Microsoft 365 version
Latest from main
nodejs version
v20
Operating system (environment)
macOS
Shell
zsh
cli doctor
No response
Additional Info
No response
Priority
(Urgent) I can't use the CLI
Description
When you try to login to CLI using only env var, login fails with
Error: : appId is required. TIP: use the "m365 setup" command to configure the default appIdSteps to reproduce
m365 login -t browserExpected results
Login flow
Actual results
Error
Diagnostics
No response
CLI for Microsoft 365 version
Latest from main
nodejs version
v20
Operating system (environment)
macOS
Shell
zsh
cli doctor
No response
Additional Info
No response