Skip to content

Instantly share code, notes, and snippets.

View LaurinchenMe's full-sized avatar

LaurinchenMe LaurinchenMe

  • 20:18 (UTC +02:00)
View GitHub Profile
@LaurinchenMe
LaurinchenMe / export-team-membership-roster.js
Last active August 24, 2023 10:57 — 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 UPN of the owners and members of a team as a CSV file without administrator permissions.
// This is a workaround for the problem that all information about the owners and members are displayed in one column.
//
// Usage:
// 1. Open MS Teams in Browser
// 2. Open your team
// 3. Select "Manage team" from its menu
// 4. Select the "Members" tab