Skip to content

Instantly share code, notes, and snippets.

@devigned
Last active October 13, 2015 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devigned/1a62a90f52d594ba60a3 to your computer and use it in GitHub Desktop.
Save devigned/1a62a90f52d594ba60a3 to your computer and use it in GitHub Desktop.
Login with Organizational or Microsoft Account
azure login -h
help: Log in to an Azure subscription using Active Directory.
help:
help: Usage: login [options]
help:
help: Options:
help: -h, --help output usage information
help: -v, --verbose use verbose output
help: -vv more verbose with debug output
help: --json use json output
help: -u --username <username> user name or service principal ID
help: -e --environment [environment] Environment to authenticate against, must support active directory
help: -p --password <password> user password or service principal key, will prompt if not given
help: --service-principal If given, log in as a service principal rather than a user
help: --tenant <tenant> Tenant domain or ID to log into
help: -q --quiet do not prompt for confirmation of PII storage
help:
help: Current Mode: arm (Azure Resource Management)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment