[#2562] Fix app insights wiring with connection string - #2563
Open
Matthias Raschhofer (rascmatt) wants to merge 1 commit into
Open
[#2562] Fix app insights wiring with connection string#2563Matthias Raschhofer (rascmatt) wants to merge 1 commit into
Matthias Raschhofer (rascmatt) wants to merge 1 commit into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
- add the option to explicitly pass the connection string for the connected AI instance - on create initialize app settings with the connection string - for existing functions, auto-migrate to connection string if ai-instance is configured, but no explicit ikey/constr are set
Matthias Raschhofer (rascmatt)
force-pushed
the
fix/2562-ai-conn-str
branch
from
July 17, 2026 09:30
8ed16b3 to
b09d36f
Compare
Author
|
@microsoft-github-policy-service agree |
Hanxiao Liu (Flanker32)
requested review from
Hanxiao Liu (Flanker32)
and
a balanced review from Copilot
and removed request for
Copilot
August 28, 2026 08:37
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.
What does this implement/fix? Explain your changes.
This PR adds support for Application Insights Connection Strings in the Azure Functions Maven plugin. It addresses the fact that Instrumentation Keys have been deprecated a while ago: https://azure.microsoft.com/en-gb/updates?id=technical-support-for-instrumentation-key-based-global-ingestion-in-application-insights-will-end-on-31-march-2025
Main changes:
appInsightsConnectionString.AbstractFunctionMojo->ConfigParser->FunctionAppConfig/ApplicationInsightsConfig).APPLICATIONINSIGHTS_CONNECTION_STRING.appInsightsKeysupport for backward compatibility, but prefer connection string when available.appInsightsKeyandappInsightsConnectionStringexplicitly.Does this close any currently open issues?
Closes #2562
Any relevant logs, screenshots, error output, etc.?
no
Any other comments?
Goal here was to improve default behavior for new and redeployed apps without breaking existing users who still rely on
appInsightsKey.Has this been tested?