Recently, I needed to extract the participants list from a Microsoft Teams meeting. Manually copying and pasting the list just wasn’t practical, so I explored a more automated solution.
Here’s what worked for me:
Inspect the Attendees Section
- In the Microsoft Teams meeting, open the Participants tab.
- Right-click on the list of attendees and select Inspect to open the browser's Developer Tools.
Use Selectors in the Developer Console
In the Elements tab, navigate to the section containing the attendees.
Open the Console tab in Developer Tools and run a small script to extract the names. Here’s a sample of what I used:
var elements = document.querySelectorAll('[role="presentation"]'); var textValues = Array.from(elements).map(element => element.textContent.trim()); console.log(textValues); var elements = document.querySelectorAll('[data-cid="roster-participant"]'); var textValues = Array.from(elements).map(element => element.textContent.trim()); console.log(textValues); var elements = document.querySelectorAll('span.fui-StyledText'); var textValues = Array.from(elements).map(element => element.textContent.trim()); console.log(textValues);
Export the List
- The output will be the list of attendees, which you can copy directly from the console.
- Pipe it into your favorite data analysis tool (Excel, Python, or any CRM) to remove duplicates or clean up the data.
This method works like magic! Within minutes, I had the entire participants list in a neat, workable format. The next steps? Use the list to network and follow up productively, making the most out of the meeting by contacting attendees in a meaningful way.
A small hack, but it makes managing post-meeting engagement so much easier!