Skip to content

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Aug 27, 2025

This PR implements critical security and compatibility updates to align with Azure Functions AZD template standards, propagated from functions-quickstart-dotnet-azd PR #18.

Security Fix

Removed hardcoded UserSecretsId from the .csproj file to prevent exposure of sensitive configuration in template repositories:

<!-- REMOVED -->
<UserSecretsId>c1c59c30-e8bf-484d-9f9c-951514b4dc33</UserSecretsId>

Package Updates

Updated Azure Functions package references to their latest stable versions:

  • Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore: 2.0.12.0.2
  • Microsoft.Azure.Functions.Worker.Sdk: 2.0.22.0.5

Additional packages already at latest versions:

  • Microsoft.Azure.Functions.Worker: 2.0.0
  • Microsoft.ApplicationInsights.WorkerService: 2.23.0
  • Microsoft.Azure.Functions.Worker.ApplicationInsights: 2.0.0
  • Microsoft.Azure.Functions.Worker.Extensions.CosmosDB: 4.12.0

Verification

  • ✅ Project builds successfully with no warnings or errors
  • ✅ All packages verified as latest versions
  • ✅ No breaking changes introduced
  • ✅ Bicep infrastructure confirmed clean (no Application Insights connection string outputs)

This change improves template security by removing exposed secrets and ensures compatibility with the latest Azure Functions runtime features.

Fixes #4.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • http://crl3.digicert.com:443/DigiCertHighAssuranceEVRootCA.crl
    • Triggering command: dotnet build (http block)
  • http://crl3.digicert.com:443/NETFoundationProjectsCodeSigningCA.crl
    • Triggering command: dotnet build (http block)
  • http://crl3.digicert.com:443/sha2-assured-ts.crl
    • Triggering command: dotnet build (http block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copy link
Author

Copilot AI commented Aug 27, 2025

@paulyuk 👋 This repository doesn't have Copilot instructions. With Copilot instructions, I can understand the repository better, work faster and produce higher quality PRs.

I can generate a .github/copilot-instructions.md file for you automatically. Click here to open a pre-filled issue and assign it to me. I'll write the instructions, and then tag you for review.

Co-authored-by: paulyuk <1968137+paulyuk@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Critical: Remove UserSecretsId and update package references to latest versions Critical: Remove UserSecretsId and update package references to latest versions Aug 27, 2025
@Copilot Copilot AI requested a review from paulyuk August 27, 2025 18:30
Copilot finished work on behalf of paulyuk August 27, 2025 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Critical: Remove UserSecretsId and update package references to latest versions
2 participants