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

Fix documentation for Get-TeamViewerCompanyManagedDevice Cmdlet #78

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

AchilleasMitos-TV
Copy link
Collaborator

The targeted endpoint requires Device Groups: read operations permissions as well as company admin

The targeted endpoint requires Device Groups: read operations permissions as well as company admin
@@ -9,7 +9,7 @@ schema: 2.0.0

## SYNOPSIS

Retrieves TeamViewer company-managed devices. Requires an API Token with company admin permissions.
Retrieves TeamViewer company-managed devices. Requires an API Token with 'company admin' and 'Device Groups: read operations' permissions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which permissions is referenced by "Device Groups: read operations"? In the enum I cannot find any reference to device groups.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are the permissions for MDv2 groups/devices as seen by our users in MCO, when they try to create a new Api token:
image

@@ -38,7 +38,7 @@ List all company-managed devices of this company.

### -ApiToken

The TeamViewer API access token. Needs to have company admin permissions to successfully retrieve the devices.
The TeamViewer API access token. Needs to have 'company admin' and 'Device Groups: read operations' permissions to successfully retrieve the devices.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment above.

@stefanhubertus stefanhubertus merged commit 0bc95fd into main Feb 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants