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.
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.