microsoft / microsoft/aspire

More DefaultAzureCredential diagnostics information with AddAzureProvisioning

Open
#2,981 2 comments 0 reactions 0 assignees View on GitHub
area-integrations azure
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

`DefaultAzureCredential` uses several different accounts to login such as `VisualStudioCredential`, `AzureCliCredential`, `AzureDeveloperCliCredential` which can lead to wrong credentials used with `AddAzureProvisioning`. Not knowing which of these credentials have been used makes it harder to find issues. To see this information, diagnostic can be configured with `DefaultAzureCredential`.

It would be great to have a flag with `AddAzureProvisioning` (proabably with the configuration that's already used with user secrets) to enable diagnostic information with the use of `DefaultAzureCredential`.

This is an error I had: #2963

https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/README.md#logging

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.