Aspire.Hosting.Azure.ApplicationInsights should configure Microsoft Entra authentication
Open
area-integrations
azure
security 🔐
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
Today the Aspire.Hosting.Azure.ApplicationInsights hosting integration provisions an AppInsights instance and outputs the connection string for an app to connect to it:
https://github.com/dotnet/aspire/blob/05545703a14e4970f49cc0af5d7add413d38dbd4/src/Aspire.Hosting.Azure.ApplicationInsights/AzureApplicationInsightsExtensions.cs#L43-L109
However, we aren't enabling Entra authentication, nor are we connecting to it using Entra auth.
See https://learn.microsoft.com/azure/azure-monitor/app/azure-ad-authentication.
Contributor guide
Assessment
This issue has not been assessed yet.