Added script for Teams meetings with Copilot usage - #982
Open
nanddeepn wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new script sample that analyzes Microsoft Purview Unified Audit Logs to identify Microsoft Teams meetings where Copilot-related features were used, producing both event-level and meeting-level CSV reports.
Changes:
- Added a new README with usage guidance and an embedded PowerShell script to query and correlate Copilot-related audit events.
- Added sample metadata (
assets/sample.json) for the new script sample.
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| scripts/teams-meetings-with-copilot-usage/README.md | Adds documentation and the PowerShell script that searches Unified Audit Logs and exports Copilot usage reports. |
| scripts/teams-meetings-with-copilot-usage/assets/sample.json | Adds metadata describing the sample (title, tags, PowerShell version, thumbnail, authors). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+86
to
+89
| - Open Windows PowerShell ISE | ||
| - Create a new file | ||
| - Copy the code below | ||
| - Save the file and run it |
| } | ||
| } | ||
|
|
||
| $DetailedFile = Join-Path $OutputFolder "TeamsCopilotActivity.csv" |
Comment on lines
+45
to
+48
| "gitHubAccount": "SmitaNachan", | ||
| "company": "", | ||
| "pictureUrl": "https://github.com/SmitaNachan.png", | ||
| "name": "Smita Nachan" |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
This pull request introduces a new script for analyzing Microsoft Teams meetings to report on Copilot usage by parsing Microsoft Purview Unified Audit Logs.