Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt users to sign in to a directory #756

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Conversation

alexweininger
Copy link
Member

Sometimes users might be signed in, but all their subscriptions exist under a tenant that isn't authenticated yet. In this case, they need to use the Sign In to Directory command.

This change makes it so that if these conditions are both true:
A. User has no subscriptions under the currently authenticated tenants
B. User has unauthenticated tenants

Then we show the "Sign In to Directory..." command in the tree instead of the "Select subscriptions..." command.

@alexweininger alexweininger requested a review from a team as a code owner October 23, 2023 20:43
@alexweininger alexweininger merged commit d32f940 into main Oct 24, 2023
3 checks passed
@alexweininger alexweininger deleted the alex/moccasin-termite branch October 24, 2023 16:01
@microsoft microsoft locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants