Skip to content

fix: add sampleTag for M365 Agents Toolkit telemetry tracking#89

Merged
waldekmastykarz merged 1 commit intopnp:mainfrom
qfai:fix/add-sampletag-for-telemetry
Dec 30, 2025
Merged

fix: add sampleTag for M365 Agents Toolkit telemetry tracking#89
waldekmastykarz merged 1 commit intopnp:mainfrom
qfai:fix/add-sampletag-for-telemetry

Conversation

@qfai
Copy link
Contributor

@qfai qfai commented Dec 25, 2025

Summary

This PR adds \sampleTag\ to the \m365agents.yml\ files for telemetry tracking in M365 Agents Toolkit.

Changes

  1. nodejs-typescript-food-catalog

    • Added \�dditionalMetadata.sampleTag: graph-connectors-samples:gc-nodejs-typescript-food-catalog\
  2. nodejs-typescript-policies

    • Added \�dditionalMetadata.sampleTag: graph-connectors-samples:nodejs-typescript-policies\
    • Removed hardcoded \projectId\

Why is this needed?

The \sampleTag\ in \m365agents.yml\ is required for M365 Agents Toolkit to track sample usage telemetry. Without it, usage data cannot be properly attributed to these samples.

The \projectId\ should be removed as it's meant to be generated per-user when they create a project from the sample, not hardcoded in the template.

Validation

Both samples have been validated using the TeamsFx Sample Validator tool.

@waldekmastykarz waldekmastykarz merged commit 7586687 into pnp:main Dec 30, 2025
1 check passed
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.

3 participants