microsoft / DevHomeAzureExtension

Dev Home Azure Extension
MIT License
70 stars 15 forks source link

Defaulting to an account #22

Open mathewleeza opened 8 months ago

mathewleeza commented 8 months ago

Suggested new feature or improvement

Can we default to an account if: A. There's only one account or

B. My work account

Scenario

Can we default to an account if: A. There's only one account or

B. My work account

Additional details

No response

dkbennett commented 8 months ago

I can fix it so if there's only one account that is the default immediately. If there's more than one we need input from the user to put in a URL so we can match the organization in the URL with the available accounts to pick the best match. That already happens now if you put in a URL and click "Submit" - we'll select the best match. But we can't select the best match without some input from the user so it has to be after they put in a URL.