Azure-Samples / Azure-Samples/functions-quickstart-dotnet-azd-timer

Critical: Remove UserSecretsId and update package references to latest versions

Aperta
#7 1 commento 1 reazione 1 assegnatario Assegnata a @Copilot Vedi su GitHub
Lingua principale
Bicep
Stelle
0
Fork
8
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## 🚨 Critical Updates Needed - Propagation from functions-quickstart-dotnet-azd PR #18

This issue tracks critical changes that need to be applied to maintain consistency across Azure Functions AZD templates, based on [PR #18](https://github.com/Azure-Samples/functions-quickstart-dotnet-azd/pull/18) merged on August 7, 2025.

### Required Changes

#### 1. 🔒 Remove UserSecretsId from .csproj
**Security Issue:** Templates should not include hardcoded UserSecretsId values.

```xml

09bd123b-3401-4507-b92c-0b283b95b537
```

#### 2. 📦 Update Package References to Latest Versions
Update all Azure Functions package references in .csproj files:

```xml

```

#### 3. 🏗️ Remove Application Insights from Bicep Outputs
Remove this line from `infra/main.bicep`:

```bicep
// REMOVE this line
output APPLICATIONINSIGHTS_CONNECTION_STRING string = monitoring.outputs.name
```

### Impact
- **Security:** Removes exposed secrets from template
- **Compatibility:** Updates to latest stable versions
- **Consistency:** Aligns with current best practices across all Azure Functions AZD templates

### Reference
- **Source PR:** https://github.com/Azure-Samples/functions-quickstart-dotnet-azd/pull/18
- **Author:** @nzthiago
- **Scope:** Part of batch propagation across 19 Azure Functions AZD templates

### Related Templates
This same issue applies to:
- functions-quickstart-dotnet-azd-eventgrid-blob
- functions-quickstart-dotnet-azd-cosmosdb
- functions-quickstart-dotnet-azd-sql
- durable-functions-quickstart-dotnet-azd

/cc @nzthiago

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.