Skip to content

Bug report: Some examples for the 'login' command do not mention the other necessary options you need: tenant and appId #3725

@martinlingstuyl

Description

@martinlingstuyl

Description

Check out this example:

m365 login --authType secret --secret topSeCr3t@007

That's not a good example, as it would not log you in successfully. You need the --appId value as well. And if your app registration is configured as single tenant, you will need the --tenant option as well. Otherwise you get an error. An example should be able to be run as it is (with the right values), so we should add the options here.

All the examples for logging in with a certificate, have the same deficiency and should be fixed as well.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions