Let Oomnitza be your single source of truth!
You'll get visibility of your users as data from TeamViewer is automatically transformed into consumable information and actionable insights.
Connect Oomnitza and TeamViewer in minutes
You'll get visibility of your TeamViewer users by creating configurable workflows to automate tasks such as:
-
- Onboarding and offboarding users
- Retrieving SaaS user roles
- Getting a user's last login activity, enabling you to identify accounts that are underutilized or that can be canceled
- Deactivating users, such as inactive or underutilized users
Contents
- Before you start
- Creating workflows
- Create user workflows
- TeamViewer
- SCIM
- Creating SaaS user workflows
Before you start
Before you can create the integration with Oomnitza, you need to have added your TeamViewer credentials to Oomnitza. For further information, see Adding your TeamViewer credentials to Oomnitza.
We recommend that you also create the extended integration for TeamViewer users. You can use the information retrieved in these integrations to trigger workflows that can get user information.
Creating workflows
Create user workflows
To create a user workflow, you must complete these steps:
- Click Configuration > Workflows
- Click Add (+) and select People from the list.
- Drag and drop the API block onto the Sandbox.
- Click Edit on the API block and enter TeamViewer in the search field.
- Select a preset:
- To choose a preset, click the forward arrow (>).
- Select the credentials that you created in Adding your TeamViewer credentials to Oomnitza.
- Configure the API Block following the preset instructions below, and save your changes.
- Edit the Begin Block and add rules to trigger the workflow. For example, if you set the Actions to Schedule and add a rule so that the Email Equals <EmployeeEmail> you can trigger a workflow to fetch a user matching a certain name on a specific date. Refer to Using the Begin block.
- Connect the Blocks.
- Save, validate, and activate your workflow.
TeamViewer
Using the Get User Details preset
The Get User Details preset gets an existing user, by User ID. You can configure the message payload by selecting Advanced Mode.
- In the API block window, click the Advanced Mode button located in the upper right of the window.
- Select the Information tab. You will notice that the TeamViewer User ID is referenced in the property
{{teamviewer_user_id}}.Follow the mapping steps in Creating custom mappings so that this property exists in Oomnitza and is populated with information before you run this workflow. -
Select the Response tab. You can map the entire response by placing
{{response}}in the Response field and mapping it to a custom long text Oomnitza field, such as API Response. Once you have the entire response, you can then parse the JSON response values to custom Oomnitza fields as per the example below.
For further information, refer to the TeamViewer API Documentation: GET Users.
Using the Create User preset
The Create User preset creates a new TeamViewer user. When you select this preset you need to supply the new user email, password, full name, and language.
You can configure the message payload by selecting Advanced Mode.
- In the API block window, click the Advanced Mode button located in the upper right of the window.
- Select the Body tab. Ensure that the message body contains information similar to the request example below. To add more fields to the message body, refer to the TeamViewer API Documentation: POST Users.
- Select the Response tab. You can map the entire response as per the example in the Get User Details preset.
{
"email": "jane.doe@example.text",
"password": "string",
"name": "Jane Doe",
"permissions": "EditFullProfile",
"language": "de_DE",
}
Using the Update User Details preset
The Update User Details preset updates a user's details, by User ID. When you select this preset you need to supply the new user's Full Name. You can configure the message payload by selecting Advanced Mode.
- In the API block window, click the Advanced Mode button located in the upper right of the window.
- Select the Information tab. You will notice that the TeamViewer User ID is referenced in the property
{{teamviewer_user_id}}.Follow the mapping steps in Creating custom mappings so that this property exists in Oomnitza and is populated with information before you run this workflow. - Select the Body tab. To add more fields to the message body, refer to the TeamViewer API Documentation: PUT Users.
Warning
If successful, this workflow returns a204 No Contentresponse code.
SCIM
Using the Get SCIM User Details preset
The Get User Details preset gets the details of a specific SCIM user. You can configure the message payload by selecting Advanced Mode.
- In the API block window, click the Advanced Mode button located in the upper right of the window.
- Select the Information tab. You will notice that the TeamViewer SCIM User ID is referenced in the property
{{teamviewer_scim_user_id}}.Follow the mapping steps in Creating custom mappings so that this property exists in Oomnitza and is populated with information before you run this workflow. -
Select the Response tab. You can map the entire response by placing
{{response}}in the Response field and mapping it to a custom long text Oomnitza field, such as API Response. Once you have the entire response, you can then parse the JSON response values to custom Oomnitza fields as per the example below.
For further information, refer to the TeamViewer API Documentation: Get a list of users.
Using the Create SCIM SSO User preset
The Create SCIM SSO User preset creates an SSO User. When you select this preset you need to supply the new user details.
You can configure the message payload by selecting Advanced Mode.
- In the API block window, click the Advanced Mode button located in the upper right of the window.
- Select the Body tab. The message body should contain information similar to the request example below.
- Select the Response tab. You can map the entire response as per the example in the Get SCIM User Details preset.
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:teamviewer:1.0:SsoUser"
],
"userName": "jane.doe@example.test",
"displayName": "Jane Doe",
"emails": [
{
"value": "jane.doe@example.test",
"primary": true
}
],
"name": {
"givenName": "Jane",
"familyName": "Doe",
"formatted": "Jane Doe"
},
"preferredLanguage": "de_DE",
"urn:ietf:params:scim:schemas:extension:teamviewer:1.0:SsoUser": {
"ssoCustomerId": "a1b2bc4d5e6f7"
}
}
For further information, refer to the TeamViewer API Documentation: Single Sign-On User.
Using the Create SCIM Standard User preset
The Create SCIM Standard User preset creates a standard SCIM User. When you select this preset you need to supply the new user details.
You can configure the message payload by selecting Advanced Mode.
- In the API block window, click the Advanced Mode button located in the upper right of the window.
- Select the Body tab. The message body should contain information similar to the request example below.
- Select the Response tab. You can map the entire response as per the example in the Get SCIM User Details preset.
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "jane.doe@example.test",
"displayName": "Jane Doe",
"emails": [
{
"value": "jane.doe@example.test",
"primary": true
}
],
"name": {
"givenName": "Jane",
"familyName": "Doe",
"formatted": "Jane Doe"
},
"password": "secret1!",
"preferredLanguage": "de_DE"
}
For further information, refer to the TeamViewer API Documentation: Standard (Normal) User.
Using the Update SCIM User preset
The Update SCIM User preset updates a user's details, by User ID. When you select this preset you need to supply the First Name and Last Name of the user you wish to update.
You can configure the message payload by selecting Advanced Mode.
- In the API block window, click the Advanced Mode button located in the upper right of the window.
- Select the Information tab. You will notice that the TeamViewer SCIM User ID is referenced in the property
{{teamviewer_scim_user_id}}.Follow the mapping steps in Creating custom mappings so that this property exists in Oomnitza and is populated with information before you run this workflow. - Select the Body tab. The message body should contain information similar to the request example below.
- Select the Response tab. You can map the entire response as per the example in the Get SCIM User Details preset.
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"userName": "jane.doe@example.test",
"displayName": "Jane Doe (Updated Name)",
"emails": [
{
"value": "jane.doe@example.test",
"primary": true
}
],
"name": {
"givenName": "Jane",
"familyName": "Doe (Updated Name)",
"formatted": "Jane Doe (Updated Name)"
},
"active": true
}
For further information, refer to the TeamViewer API Documentation: Update an existing user.
Using the Deactivate SCIM User preset
The Deactivate SCIM User preset sets a user's account to inactive. This preset operates in the same manner as the Update SCIM User preset, except that the property active in the Advanced Mode> Body is set to false.
Using the Activate SCIM User preset
The Activate SCIM User preset updates a user's account to active. This preset operates in the same manner as the Update SCIM User preset, and sets the property active in the Advanced Mode> Body to true.
Reference articles for workflows
Creating SaaS user workflows
You can create a Saas User workflow in Oomnitza using the TeamViewer User Role preset. This preset supplies you with a comma-separated list of Permissions (such as Manage Users, View All Assets, etc.) and the Last Login Date ('last_access_date') of your SaaS users.
Prerequisites
Before you create a SaaS user workflow, you should have already run your extended user integration and selected User plus SaaS User to populate the software entry in the Software > SaaS menu.
To create a Saas User workflow using the TeamViewer User Role preset, complete the following steps:
- Click Configuration > Workflows > Saas Users from the menu.
- Click Add (+). The Begin and End blocks are automatically added to the sandbox.
- Enter the name and a description of the workflow.
- Edit the Begin block by adding the rules that will trigger the workflow. For further information see SaaS User Roles.
- Click the Blocks tab, and drag and drop the SaaS User Role retrieval block onto the canvas.
- Click the Edit icon.
- Enter TeamViewer in the search field and choose the TeamViewer User Role preset.
- Click the right arrow >.
- Enter your Credentials.
- Select the Deactivate User checkbox to deactivate the users listed in SaaS > TeamViewer > Users if they do not exist in your SaaS application.
- Click SAVE.
- Connect the blocks.
- Save, validate, and activate your workflow.
To view active TeamViewer users in the SaaS Users UI, complete the following steps:
- Click Software from the menu.
- Select the SaaS tab, and select your software entry for TeamViewer.
- Click Users in the side pane.
- The Role and Last activity column will be populated with the user details to confirm that this user has been found in your TeamViewer SaaS.
Comments
0 comments
Please sign in to leave a comment.