Critical: Remove UserSecretsId and update package references to latest versions - #8
Draft
Paul Yuknewicz (paulyuk) with Copilot wants to merge 2 commits into
Draft
Critical: Remove UserSecretsId and update package references to latest versions#8Paul Yuknewicz (paulyuk) with Copilot wants to merge 2 commits into
Paul Yuknewicz (paulyuk) with Copilot wants to merge 2 commits into
Conversation
Co-authored-by: paulyuk <1968137+paulyuk@users.noreply.github.com>
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
Sep 29, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR addresses critical security and compatibility updates for the Azure Functions AZD timer template, implementing changes propagated from functions-quickstart-dotnet-azd PR #18.
🔒 Security Fix
Removed hardcoded
UserSecretsIdfromtimer.csprojto prevent exposure of secrets in template repositories:Templates should not include hardcoded UserSecretsId values as they can expose sensitive configuration data.
📦 Package Updates
Updated Azure Functions package references to latest stable versions for improved compatibility and security:
Microsoft.Azure.Functions.Worker: 1.21.0 → 2.0.0Microsoft.Azure.Functions.Worker.Sdk: 1.17.0 → 2.0.5Microsoft.ApplicationInsights.WorkerService: 2.22.0 → 2.23.0Microsoft.Azure.Functions.Worker.ApplicationInsights: 1.2.0 → 2.0.0The Timer extension package remains at 4.3.1 as it's already at the current stable version.
🏗️ Infrastructure Update
Removed the
APPLICATIONINSIGHTS_CONNECTION_STRINGoutput frominfra/main.bicepto align with current best practices:Impact
This change is part of a comprehensive batch propagation across 19 Azure Functions AZD templates to maintain consistency and security standards.
Closes #7
Original prompt
This section details on the original issue you should resolve
<issue_title>Critical: Remove UserSecretsId and update package references to latest versions</issue_title>
<issue_description>## 🚨 Critical Updates Needed - Propagation from functions-quickstart-dotnet-azd PR Azure-Samples/functions-quickstart-dotnet-azd-timer#18
This issue tracks critical changes that need to be applied to maintain consistency across Azure Functions AZD templates, based on PR Azure-Samples/functions-quickstart-dotnet-azd-timer#18 merged on August 7, 2025.
Required Changes
1. 🔒 Remove UserSecretsId from .csproj
Security Issue: Templates should not include hardcoded UserSecretsId values.
2. 📦 Update Package References to Latest Versions
Update all Azure Functions package references in .csproj files:
3. 🏗️ Remove Application Insights from Bicep Outputs
Remove this line from
infra/main.bicep:Impact
Reference
Related Templates
This same issue applies to:
/cc Thiago Almeida (@nzthiago)</issue_description>
<agent_instructions>please perform the change and test</agent_instructions>
Comments on the Issue (you are Copilot in this section)
Paul Yuknewicz (@paulyuk) ## 🎯 Enhanced Batch Propagation Workflow - Execution CompleteThis issue is part of a comprehensive batch propagation that successfully executed the enhanced workflow across 19 Azure Functions AZD templates.
📈 Discovery Results
🎯 Coverage Summary
✅ High-Priority .NET Templates (Issues Created)
📋 Remaining Templates (14 total)
Sample issues created for Python and TypeScript. Similar infrastructure updates needed for:
🔧 Enhanced Workflow Features
This demonstrates the enhanced batch propagation workflow successfully iden...
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.