You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the short option for secret, you get an error message 'Error: 'GUID,secret' is not a valid authentication type'. This is because in the code there is no short option defined for the secret option:
My guts feeling says the same, but then my next remark is that the other options you use in conjunction with the secret option don't have a short. More specific appId & tenant.
Priority
(Low) Something is a little off
Description
When using the short option for
secret
, you get an error message 'Error: 'GUID,secret' is not a valid authentication type'. This is because in the code there is no short option defined for the secret option:cli-microsoft365/src/m365/commands/login.ts
Lines 84 to 86 in f473be5
While in the docs it states that a short option is possible
cli-microsoft365/docs/docs/cmd/login.md
Lines 31 to 32 in f473be5
Either we add the short option for
secret
in the code or we remove the short option in the docsSteps to reproduce
Execute
m365 login --appId [your app id] -s [your secret] --tenant [your tenant id] --authType secret
Expected results
that the command executes with the short options for
secret
Actual results
'Error: 'GUID,secret' is not a valid authentication type'.
Diagnostics
No response
CLI for Microsoft 365 version
6.8.0
nodejs version
18.12.1
Operating system (environment)
Windows
Shell
PowerShell
cli doctor
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered: