> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/adapters/s/soti-mobicontrol.md).

# SOTI MobiControl

SOTI MobiControl is an enterprise mobility management platform for Android, iOS, Windows and Linux devices. OctoXLabs reads the enrolled devices and adds them to the device inventory.

## Use cases

* **Find managed mobile devices.** List the devices reported by MobiControl.

```
Adapters = soti-mobicontrol
```

* **Find MobiControl devices that other sources do not report.** How devices are matched depends on your device merge settings.

```
Adapters = soti-mobicontrol AND NOT Adapters = active-directory
```

## Before you begin

### Network

| Source              | Destination                     | Port                 | Protocol                         |
| ------------------- | ------------------------------- | -------------------- | -------------------------------- |
| OctoXLabs connector | MobiControl host (IP parameter) | 443 (Port parameter) | HTTPS (HTTP if Is Secure is off) |

The connector does not verify the TLS certificate.

### Required permissions

| Scope or role                     | Permission             | Needed for      |
| --------------------------------- | ---------------------- | --------------- |
| MobiControl administrator account | Read access to devices | Listing devices |

The baseline asks for an administrator username and password, and does not list finer permissions.

## Create credentials in SOTI MobiControl

Creating an API client needs administrative access to the Windows server that hosts MobiControl. MobiControl cloud customers must contact SOTI support.

{% stepper %}
{% step %}

### Open a command prompt

Start a Windows command prompt with administrative privileges.
{% endstep %}

{% step %}

### Go to the installation directory

Change to the MobiControl installation directory.
{% endstep %}

{% step %}

### Add the API client

Run `MCAdmin.exe APIClientAdd -n:{APIClientName} [-p:{APISecret}]`. The name is a reference for your application. The secret is an optional passphrase. If you omit it, one is generated.
{% endstep %}

{% step %}

### Copy the credentials

The Client ID and Client Secret are shown in the command prompt. The secret is shown only once, so store it securely.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter     | Required | Type    | Default | Description                                     |
| ------------- | -------- | ------- | ------- | ----------------------------------------------- |
| IP Address    | Yes      | String  | None    | IP address or hostname of the MobiControl host. |
| Port          | No       | Integer | 443     | Port of the host.                               |
| Client ID     | Yes      | String  | None    | Client ID of the API client.                    |
| Client Secret | Yes      | String  | None    | Client Secret of the API client.                |
| Username      | Yes      | String  | None    | MobiControl administrator username.             |
| Password      | Yes      | String  | None    | MobiControl administrator password.             |
| Is Secure     | No       | Boolean | True    | Use HTTPS.                                      |
| Timeout       | No       | Integer | 30      | Seconds to wait for an API response.            |

## Troubleshooting

| Error message                                                  | Cause                                                                                   | Fix                                                                         |
| -------------------------------------------------------------- | --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| Status Code: `, followed by URL, Method and the response body` | The API answered with a status other than 200. This is the shared REST connector error. | Check the Client ID, Client Secret, administrator credentials, IP and port. |

## Change history

{% hint style="info" %}
Available starting from version 5.3.2.
{% endhint %}
