I would like to managing our zoom via powershell. I downloaded the zoomps and i can connect our zoom environment with the
Connect-PSZoom -AccountID ‘XXX’ -ClientID ‘XXX’ -ClientSecret ‘XXX’
Many zoom command works but many important commands not.
for example this doesn’t work:
Restart-zoomroom
The error is:
Invoke-ZoomRestMethod : The remote server returned the following error: (401) Unauthorized.
At C:\Program Files\WindowsPowerShell\Modules\pszoom\2.0.4.1\Public\Rooms\Restart-ZoomRoom.ps1:68 char:25
Hi!
I have only this:
PS C:\Users\kisszoltan7\Documents\Visual Studio 2017> Restart-ZoomRoom -RoomId g-GFjHPWToi6XFwQxZVKCQ
Invoke-ZoomRestMethod : A távoli kiszolgáló a következő hibát küldte vissza: (401) Jogosulatlan.
At C:\Program Files\WindowsPowerShell\Modules\pszoom\2.0.4.1\Public\Rooms\Restart-ZoomRoom.ps1:68 char:25
Can you please share the link to the Documentation that you are using to run these commands? @zoltan.kiss.4
I am having trouble understanding your issue.
Hello!
Here is my ps commands: Import-Module pszoom
Connect-PSZoom -AccountID ‘xxx’ -ClientID ‘xxx’ -ClientSecret ‘xxx’ Restart-ZoomRoom -roomid NPpUZFWAThWAcO_xf1cF1g
After the, this “restart-zoomroom” command invite a PS function. The error message is:
“Invoke-ZoomRestMethod : The remote server returned the following error: (401) Unauthorized.”
Many type of command’s result is same
Thanks @zoltan.kiss.4
We did not develop this package, so I am not able to give you the right support.
I would suggest you to reach out to the creator of it
Hi _ did you figure out the issue?
I am no programmer but am comfortable with PS.
So trying to figure out how to use the PS module. So if you have any hints or tips.
My connect-PSZoom worked
However my commands get a remote server returned an error so doing something wrong.