Skip to content

Enhancement: add a config key to set the default login authType #5585

@martinlingstuyl

Description

@martinlingstuyl

By default, running m365 login will trigger the device-code flow. However, some users may want to set the browser flow as default. We could enhance this by adding a config key which determines the default login authType:

Setting name Definition Default value
authType Default login method to use when running m365 login without the --authType option. deviceCode

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions