PSZoom is a Powershell wrapper for Zoom’s REST API. At the moment it includes cmdlets for users, groups and meetings as well as a few for reports. Installing it is as simple as:
Install-Module PSZoom
Import-Module PSZoom
You can also find it at the PowerShell Gallery or on Github. Currently PSZoom uses only JWT for authorization.
This is awesome, thanks for creating this! You just made my life so much easier. With the COVID19 crisis we recently signed up with a Zoom Education account for 1,000 users. Everything is set up with our managed domain and SSO through Azure but for some reason all of our users (students and staff) were coming in as a Basic license. Unfortunately Zoom’s CSV user update feature isn’t working correctly either.
Using your module I quickly grabbed all of our staff accounts and upgraded them to a Licensed account. Perfect and quick. I was done in minutes and moved on to the next task on my plate.
When i’m trying to run the “Get-ZoomUsers -AllPages” script, i’m getting the following error:
Get-ZoomUsers : The underlying connection was closed: An unexpected error occurred on a send.
At line:1 char:1
Get-ZoomUsers : The underlying connection was closed: An unexpected error occurred on a send.
At C:\Program Files\WindowsPowerShell\Modules\PSZoom\1.1.8\Public\Users\Get-ZoomUsers.ps1:181 char:27
I am running a query to pull all users and am getting a 401 unauthorized. I am an admin in Zoom (not the owner). I just pulled the secret and key from Zoom admin console under personal/settings. We have over 800 users and I have tried
#In Powershell it’s explicitly written as a string for the key and secret
$apiKey = ‘’
$apiSecret = '’
Get-ZoomUsers -AllPages -ApiKey $apiKey -ApiSecret $apiSecret
Get-ZoomUsers : The remote server returned an error: (401) Unauthorized.
At line:1 char:1
Get-ZoomUsers : The remote server returned an error: (401) Unauthorized.
At C:\Program Files\WindowsPowerShell\Modules\pszoom\1.1.8\Public\Users\Get-ZoomUsers.ps1:181 char:27
Get-ZoomUsers -PageNumber 1 -ApiKey $apiKey -ApiSecret $apiSecret
Get-ZoomUsers : The remote server returned an error: (401) Unauthorized.
At line:1 char:1