Skip to content

Add additionalMetadata sampleTag to all M365 Agents Toolkit samples#119

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/add-additional-metadata-property
Draft

Add additionalMetadata sampleTag to all M365 Agents Toolkit samples#119
Copilot wants to merge 4 commits intomainfrom
copilot/add-additional-metadata-property

Conversation

Copy link
Contributor

Copilot AI commented Mar 12, 2026

All M365 Agents Toolkit based samples need an additionalMetadata.sampleTag property for telemetry, and AGENTS.md should document this for future submissions.

Sample YAML files (49 files modified)

Added the following block after version: in every m365agents.yml and teamsapp.yml that was missing it:

additionalMetadata:
  sampleTag: pnp-copilot-pro-dev:<sample-folder-name>

Also fixed da-ristorante-api/m365agents.yml which had an inconsistent prefix (copilot-pro-dev-samples:pnp-copilot-pro-dev:).

AGENTS.md

  • Added new m365agents.yml metadata section documenting the property and format
  • Added rule: include additionalMetadata with correct sampleTag
  • Added checklist item for additionalMetadata.sampleTag
Original prompt

This section details on the original issue you should resolve

<issue_title>Add additionalMetadata property to M365 Agents Toolkit based samples</issue_title>
<issue_description>```yaml
additionalMetadata:
sampleTag: pnp-copilot-pro-dev:{sample-name}


We should also update AGENTS.md so that additionalMetadata property is included in new sample submissions</issue_description>

## Comments on the Issue (you are @copilot in this section)

<comments>
</comments>


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…nd update AGENTS.md

Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Copilot AI changed the title [WIP] Add additionalMetadata property to M365 Agents Toolkit samples Add additionalMetadata sampleTag to all M365 Agents Toolkit samples Mar 12, 2026
@garrytrinder
Copy link
Member

@copilot we only need to update the m365agents.yml file, you can ignore the environment variations of this file.

Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 13, 2026

@copilot we only need to update the m365agents.yml file, you can ignore the environment variations of this file.

Reverted all changes to teamsapp.yml, teamsapp.local.yml, and m365agents.local.yml files. Only m365agents.yml files are now modified. Also updated the AGENTS.md reference to remove the (or teamsapp.yml) mention. See commit eb7583f.

@garrytrinder
Copy link
Member

@copilot let's also include teamsapp.yml files in these updates.

Co-authored-by: garrytrinder <11563347+garrytrinder@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 18, 2026

@copilot let's also include teamsapp.yml files in these updates.

Added additionalMetadata.sampleTag to all 28 teamsapp.yml files that were missing it. See commit 60d7a8c.

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.

Add additionalMetadata property to M365 Agents Toolkit based samples

2 participants