Skip to content

Instantly share code, notes, and snippets.

@devigned
Last active October 13, 2015 20:28
Show Gist options
  • Save devigned/ad5ea4bc93c2bba9c2ac to your computer and use it in GitHub Desktop.
Save devigned/ad5ea4bc93c2bba9c2ac to your computer and use it in GitHub Desktop.
Azure CLI v0.9.10 Service Principal Login
# Running Azure login with --service-principal is intended for use in automation
# scenarios and does not require an interactive login.
azure login --service-principal -u client-id -p secret --tenant [tenant-guid | domain]
# info: Executing command login
# info: Added subscription Visual Studio Ultimate with MSDN
# +
# info: login command OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment