microsoft / microsoft/terminal

Azure Cloud Shell, Conditional Access and a device from a platform (Unknown)

Open
#14,403 9 comments 2 reactions 0 assignees View on GitHub
Area-AzureShell Help Wanted Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.15.2875.0

### Windows build number

10.0.22621.0

### Other Software

_No response_

### Steps to reproduce

1. Open WT,
2. Open new Azure Cloud Shell tab,
3. Follow the Device Loging procedure,
4. After successful login a list of tenants will be displayed,
5. Select a tenant with a conditional access policy for supported device platforms.

### Expected Behavior

After selecting a tenant, an expected behavior is to see the question "Do you want to save these connection settings for future logins?", then "Requesting a cloud shell instance...", etc.

### Actual Behavior

AADSTS50005: User tried to log in to a device from a platform (Unknown) that's currently not supported through Conditional Access policy. Supported device platforms are: iOS, Android, Mac, and Windows flavors.
Trace ID: 181f4dd3-939b-4e6b-9544-b1b898145d00
Correlation ID: 963c9066-e711-4014-bd50-5973700a5fe0
Timestamp: 2022-11-17 17:20:15Z
[process exited with code 1 (0x00000001)]

Contributor guide

Open the contributing guide

Research direction

Start with the Windows Terminal Azure Cloud Shell sign-in flow described in the reproduction steps, focusing on device login and tenant selection under a Conditional Access policy. Reproduce the AADSTS50005 failure and compare it with the expected connection-settings prompt and cloud-shell request; done means supported-device policies no longer produce the platform-Unknown error.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, cpp
Domain
authentication, cli, cloud, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.