Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License Required error #72

Open
bcftv opened this issue Jan 26, 2024 · 0 comments
Open

License Required error #72

bcftv opened this issue Jan 26, 2024 · 0 comments
Labels
Question Indicates that an issue, pull request, or discussion needs more information

Comments

@bcftv
Copy link

bcftv commented Jan 26, 2024

I am able to connect to our Corporate account and view users, groups, etc.

But when I try to add a user to a group I get an error that a license is required.

Command:

$api_token = ConvertTo-SecureString -String "REDACTED" -AsPlainText -Force`
Connect-TeamViewerApi -ApiToken $api_token
Add-TeamViewerUserGroupMember -id 123456 -Member @(654321)

Result:

At line:1 char:1
+ Add-TeamViewerUserGroupMember -id 123456 -Member @(654321)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Add-TeamViewerUserGroupMember], RuntimeException
    + FullyQualifiedErrorId : TeamViewerRestError,Add-TeamViewerUserGroupMember

Am I missing something?

@bcftv bcftv added the Question Indicates that an issue, pull request, or discussion needs more information label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Indicates that an issue, pull request, or discussion needs more information
Projects
None yet
Development

No branches or pull requests

1 participant