microsoft / microsoft/aspire

Improve Azure local provisioning: detect and facilitate first time login, show credential choices

Open
#10,364 2 comments 3 reactions 1 assignee Assigned to @Copilot View on GitHub
area-integrations azure
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

**Is your feature request related to a problem? Please describe the problem.**

Today, Aspire assumes that the user is already logged into Visual Studio, VS Code, or Azure CLI for Azure local provisioning. The current experience does not detect which of these mechanisms (if any) are available, nor does it facilitate login or provide a UI for the user to choose their preferred credential provider. There is a configuration option for selecting a credential provider, but this is not surfaced in the user experience.

**Describe the solution you'd like**

1. Detect available credential providers in the user's environment (VS, VS Code, az cli, etc) and present the user with a choice of which to use for login.
2. If no login mechanism is detected, proactively facilitate or guide the user through the login process for one of the supported providers.
3. Surface the credential provider configuration option in a user-friendly way.

**Additional context**
Improving this experience will make the first-time Azure login in Aspire smoother and more intuitive, especially for new users.

cc @eerhardt

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.