Skip to content

Instantly share code, notes, and snippets.

View cyz's full-sized avatar
😻
Focusing

Cynthia Zanoni cyz

😻
Focusing
View GitHub Profile
@cyz
cyz / export-team-membership-roster.js
Created December 5, 2022 13:30 — forked from guillaumemeyer/export-team-membership-roster.js
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)