Skip to content

[Engineering task] Validate Client side Telemetry enhancements #5131

@gladjohn

Description

@gladjohn

Task type

Development, Test

Description

  • [Unit Test] Validate MSI Source Tracking in Telemetry

Write unit tests to verify correct MSI source detection.
Mock various Azure environments (IMDS, App Service, etc.).
Ensure telemetry logs the correct source.

  • [Unit Test] Validate Token Revocation Telemetry for MSI V1

Write unit tests to ensure bypass_cache=true is logged properly.
Mock different token request scenarios.

  • [Unit Test] Validate Token Revocation Telemetry for MSI V2

Ensure error_code is captured correctly in telemetry.
Mock failure scenarios from /credential endpoint.

  • [Unit Test] Validate Certificate Type Telemetry in MSI

Ensure different certificate types (platform, developer-provided, self-signed) are logged correctly.
Write tests to verify telemetry data consistency.

  • [Unit Test] Validate Failure Reason Telemetry for MSI Token Acquisition

Mock failures (authentication, network, 404) and validate telemetry logging.
Ensure meaningful error messages are recorded.

Solution

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions