New Setting `autoOpenLinksInBrowser` for `cli config` for the default behavior while opening browser window
See original GitHub issueIntroduce a new settings called autoOpenLinksInBrowser
which will be of boolean value (true / false) in the CLI Configuration Settiings
There are commands which is currently showing the URL in the console. End user is expected to copy and paste the URL in the window.
With this enhancement, if the settings value is true
, CLI will open the browser automatically.
If the settings value is false
, the current behavior will be continued as is.
Following are the commands which we have identified where the settings will be applicable
- m365 login
- m365 cli consent
- m365 app open - Issue #2940
Default value of the settings will be false
.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:24 (24 by maintainers)
Top Results From Across the Web
open Azure portal on the page to manage the selected AAD ...
New Setting autoOpenLinksInBrowser for cli config for the default behavior while opening browser window #3118.
Read more >CLI for Microsoft 365 - how cool is that? - Configuring settings
Automatically open the browser to the Azure AD login page after running m365 login command in device code mode. This setting will be...
Read more >Command line options - AWS Documentation
In the AWS CLI you can use the following command line options to override the default configuration settings, any corresponding profile setting, or...
Read more >Azure CLI configuration options - Microsoft Learn
The Azure CLI allows user configuration for various settings. ... You can set defaults for the CLI with the az config set command....
Read more >Managing gcloud CLI configurations
A configuration is a named set of Google Cloud CLI properties. These properties are key-value pairs, organized in sections, that govern the behavior...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
When in doubt, hit it with the simple stick 😄
Ok, so I created the pull request. I included two commands that use it.
A third command that will benefit from this, is ‘aad app open’, for which I already created a pull request some time ago. I’ll update that one with the new setting as soon as this one is accepted and merged.
And on we go 🚀