Skip to content

Azure Shell Reports Unknown Id Instead of Tenant ID #17311

Open
@CheetahChrome

Description

@CheetahChrome

Windows Terminal version

1.20.11271.0

Windows build number

10.0.22621.0

Other Software

No response

Steps to reproduce

  1. Open Azure Cloud Shell in Terminal
  2. Follow steps for reported authentication.
  3. Select one of the provided tenants
  4. Inspect the error message and note that the id reported is not tenant id of the tenants listed.

Expected Behavior

I expect that the error message should report the actual tenant id of the target tenant being logged into. Or that the id being reported, if different from any in the list, tells a user what the origination or name of that id is being reported along with the id. This unknown Id, Account(?) is unclear.

Actual Behavior

I run the Azure Cloud Shell (1) and follow the authentication steps outside the shell (2). Once the outside steps are successfully completed, I am presented with the tenants I want to log into for that session (3). Upon picking a tenant, I am presented with an MFA error and an Id for reference. The Id given is not either of the tenant ids I am attempting to log into. What is this Id?

See the reported Id staring with 797....

image

Here are the actual tenant ids and none of them are in the 797... realm.

image

Note that I can login in a PowerShell shell using

image

Note the actual failure is also an issue and appears to have been reported

Azure Cloud Shell Fails to connect when you have multiple tenants and 1 of them requires MFA · Issue #12458 · microsoft/terminal · GitHub

Metadata

Metadata

Labels

Area-AzureShellWorkitems pertaining to the Azure Cloud Shell connection.Issue-BugIt either shouldn't be doing this or needs an investigation.Product-TerminalThe new Windows Terminal.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions