Skip to content

Log Stream should support connection string without requiring IKey #4584

@RohitRanjanMS

Description

@RohitRanjanMS

Version

4.1

Description

The Azure Monitor team recommends transitioning to APPLICATIONINSIGHTS_CONNECTION_STRING to leverage new features. The ingestion method using APPINSIGHTS_INSTRUMENTATIONKEY reached end of life earlier this year, and the OpenTelemetry-based Azure Monitor exporter no longer supports IKey-based ingestion.
However, when running the following command:

func azure functionapp logstream <appName> --browser

insists on using APPINSIGHTS_INSTRUMENTATIONKEY, even though this is now optional and the majority of customers have migrated to using connection strings.

Expected Behavior:
Log streaming should work seamlessly with just the APPLICATIONINSIGHTS_CONNECTION_STRING, without requiring the deprecated Instrumentation Key.

logstream not working with APPLICATIONINSIGHTS_CONNECTION_STRING

Steps to reproduce

func azure functionapp logstream --browser

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions