Skip to content

Instantly share code, notes, and snippets.

View Guhan-SenSam's full-sized avatar
:octocat:

Guhan Sensam Guhan-SenSam

:octocat:
View GitHub Profile
@guillaumemeyer
guillaumemeyer / export-team-membership-roster.js
Last active April 30, 2024 08:47
Exports the owners and members of a Microsoft Teams team as a CSV file
// ****************************************************************************************************************************
// Abstract:
// This script is just a quick hack to export the owners and members of a team as a CSV file without administrator permissions.
//
// Usage:
// 1. Open your team
// 2. Select "Manage team" from its menu
// 3. Select the "Members" tab
// 4. Expand the "Owners" and "Members and guests" sections
// 5. Make sure to scroll down to the end of the owners and members lists to include all of them in your export (As the members are loaded on demand)