az login

From wikieduonline
Revision as of 06:37, 16 July 2024 by Welcome (talk | contribs)
Jump to navigation Jump to search

az login doc opens a d browser-based login.

az login -u [email protected] -p VerySecret
az login --service-principal 
az login -t


az login
A web browser has been opened at https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize. Please continue the login in the web browser. If no web 
browser is available or if the web browser fails to open, use device code flow with `az login --use-device-code`.

Retrieving tenants and subscriptions for the selection...

[Tenant and subscription selection]

No     Subscription name     Subscription ID                       Tenant
-----  --------------------  ------------------------------------  -----------------
[1] *  Azure subscription 1  xxxxxxxxxxxxxxxxxx1  Default Directory

The default is marked with an *; the default tenant is 'Default Directory' and subscription is 'Azure subscription 1' (xxxxxxxxxxxxxxxxxx1).

Select a subscription and tenant (Type a number or Enter for no changes)


Related

See also

Advertising: