The Teams admin center shows a user's past meetings, including participants and duration. Is there a supported way to retrieve that data programmatically for a time management tool? The users don't have connected Exchange Online mailboxes.
How can I get a user's completed Teams meetings with PowerShell?
Answers
Check the Teams PowerShell module for a supported command that exposes the activity you need. The admin page showing the information doesn't necessarily mean there's a matching Microsoft Graph endpoint, so compare any available command's fields and history with the page before building around it.
Reply to this answer
Unified audit log searches are another possible route, using Search-UnifiedAuditLog. That depends on the relevant audit data being available, though, and a search in this situation returned no meetings. I wouldn't assume it can replace the admin center activity view.
Reply to this answer
You can inspect the admin page's network requests in browser developer tools to see how it retrieves completed communications. That may point to an undocumented Teams endpoint rather than a supported public API.
Useful for investigation, but risky as an integration dependency. An undocumented endpoint can change, and the page's access requirements may not translate cleanly to a PowerShell script.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions