Export User List?

How do I export the list of users and information I see in my screen when I click: Groups -> All

I want to see a list of all Teamviewer ID's / Name(Alias) / Group

Tagged:

Best Answer

Answers

  • JeanK
    JeanK Posts: 7,042 Community Manager 🌍
    edited December 2021 Answer ✓

    Hello @AlainMoreau,

    Please find the corresponding thread regarding this topic here:

    Let me know if this is what you were looking for! 🌻

    Community Manager

  • You answered with a response on how to export "Computers". The question is how to export "Users" please.

  • The below powershell script works for exporting Users:

    $jsonFile = "C:\TeamViewer\User_export.json"

    $csvFile = "C:\TeamViewer\User_export.csv"

    $tvAccessToken = read-host "Please type your token "​

    $usersResponse = Invoke-RestMethod -Uri "https://webapi.teamviewer.com/api/v1/users?full_list=true" -Method Get -Headers @{authorization = "Bearer $tvAccessToken"}

    $usersResponse.users | ConvertTo-Json | Out-File $jsonFile

    $usersResponse.users | Export-Csv -Path $csvFile -Delimiter ',' -NoTypeInformation

  • JeanK
    JeanK Posts: 7,042 Community Manager 🌍

    Thank you so much, @JackKaylor, for sharing this script with us!

    I am sure this will help lots of users! 🙌

    All the best,

    /JeanK

    Community Manager

  • API has a lot of features, very handy. kind of strange these aren't basic features in the UI... I ended writing a powershell script that leverages the API. Thanks for the discussion and responses, glad people are getting something from it!

  • JeanK
    JeanK Posts: 7,042 Community Manager 🌍

    That's very good feedback... thank you @AlainMoreau.

    It would be fantastic if you could share the scripts you have written!

    (But only if you want to...😊)

    Have a great day!

    /JeanK

    Community Manager

  • JeanK
    JeanK Posts: 7,042 Community Manager 🌍

    Hello @JackKaylor and @AlainMoreau,

    I am just updating the discussion here as it is now possible to export all users into a CSV file from the Management Console.

    1. Log in to the Management Console: https://login.teamviewer.com/
    2. Click on User Management
    3. Click the manage button (🔧)
    4. Select Export all to CSV
    5. Recommended: Select Semicolon as delimitation
    6. Click on Export

    This will download the export in .csv format automatically.

    I hope this will help your future exports!

    All the best,

    /JeanK

    Community Manager