User Tools

Site Tools


wiki:ai:how-to
Draft Newest approved | Approver: @ai-us-principals

This is an old revision of the document!


How-To

Azure

To login to a our sandbox via CLI:

az login --tenant siriusazuretest.onmicrosoft.com

This will bring up a browser window to login and then you will select AI Team from the list:

 az login --tenant siriusazuretest.onmicrosoft.com
A web browser has been opened at https://login.microsoftonline.com/6ad27142-5e7d-4841-9e72-c3aaca00f9e6/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 subscriptions for the selection...

[Tenant and subscription selection]

No     Subscription name    Subscription ID                       Tenant
-----  -------------------  ------------------------------------  ------------------------------------
[1]    Academy              37f396f1-d88d-44a9-b0a9-27c2543acbae  6ad27142-5e7d-4841-9e72-c3aaca00f9e6
[2]    AI Team              baa29726-b3e6-4910-bb9b-b585c655322c  6ad27142-5e7d-4841-9e72-c3aaca00f9e6
[3]    Austin Ludwig        45072cbe-27cd-4048-aa40-78290136f5b0  6ad27142-5e7d-4841-9e72-c3aaca00f9e6
[4]    Citrix               12f96b5c-aad6-428b-bbee-e9bd1e4c9265  6ad27142-5e7d-4841-9e72-c3aaca00f9e6
[5] *  Demo                 ee0ccb89-9eb2-4ed5-8fbc-14744ef673fd  6ad27142-5e7d-4841-9e72-c3aaca00f9e6
[6]    General Sandbox      36220f64-3101-46e8-b119-fa718c07dffe  6ad27142-5e7d-4841-9e72-c3aaca00f9e6
[7]    Jeff Hayden          0370e4d0-fa27-458f-857d-7101bb9b7958  6ad27142-5e7d-4841-9e72-c3aaca00f9e6
[8]    John Babcock         e526a957-5242-487a-b926-97701db76045  6ad27142-5e7d-4841-9e72-c3aaca00f9e6
[9]    Mike Kramer          a513a65b-06a0-45df-99d0-72a2c177827f  6ad27142-5e7d-4841-9e72-c3aaca00f9e6
[10]   Offshore             a376b543-c486-4b80-a895-28e2f9460290  6ad27142-5e7d-4841-9e72-c3aaca00f9e6
[11]   Zach Hein            536a15e6-7918-4c98-b9e5-e6634c628513  6ad27142-5e7d-4841-9e72-c3aaca00f9e6

The default is marked with an *; the default tenant is '6ad27142-5e7d-4841-9e72-c3aaca00f9e6' and subscription is 'Demo' (ee0ccb89-9eb2-4ed5-8fbc-14744ef673fd).

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

Tenant: 6ad27142-5e7d-4841-9e72-c3aaca00f9e6
Subscription: AI Team (baa29726-b3e6-4910-bb9b-b585c655322c)

[Announcements]
With the new Azure CLI login experience, you can select the subscription you want to use more easily. Learn more about it and its configuration at https://go.microsoft.com/fwlink/?linkid=2271236

If you encounter any problem, please open an issue at https://aka.ms/azclibug

[Warning] The login output has been updated. Please be aware that it no longer displays the full list of available subscriptions by default.
wiki/ai/how-to.1747142009.txt.gz · Last modified: by ddehamer