> 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/c/citrix-vdi.md).

# Citrix VDI

Citrix Virtual Apps and Desktops (VDI) delivers virtual desktops and applications. OctoXLabs uses the Citrix Virtual Apps and Desktops management API to add machines, with their IP address and agent version, to the inventory.

## Use cases

* List machines that Citrix VDI manages.

```
Adapters = citrix-vdi
```

* Find VDI machines that have no endpoint agent.

```
Adapters = citrix-vdi AND NOT Adapters = falcon-crowdstrike
```

## Before you begin

### Network

| Source              | Destination                    | Port               | Protocol |
| ------------------- | ------------------------------ | ------------------ | -------- |
| OctoXLabs connector | Citrix VDI delivery controller | 443 (configurable) | HTTPS    |

### Required permissions

| Scope or role                                              | Permission | Needed for |
| ---------------------------------------------------------- | ---------- | ---------- |
| Built-in or custom administrator role with a defined scope | Read       | Machines   |

## Create credentials in Citrix VDI

{% stepper %}
{% step %}

### Open Citrix Studio

Open Citrix Studio.
{% endstep %}

{% step %}

### Open administrators

In the left menu go to **Configuration > Administrators**.
{% endstep %}

{% step %}

### Create the administrator

Click **Create Administrator**. Enter the username manually or click **Browse** to select a user from Active Directory.
{% endstep %}

{% step %}

### Choose role and scope

Choose a built-in or custom role and define the scope. The administrator is enabled by default.
{% endstep %}
{% endstepper %}

## Connection parameters

| Parameter          | Required | Type     | Default          | Description                              |
| ------------------ | -------- | -------- | ---------------- | ---------------------------------------- |
| IP                 | Yes      | Text     |                  | IP address of Citrix VDI.                |
| Port               | No       | Number   | 443              | Port.                                    |
| Username           | Yes      | Text     |                  | Administrator account.                   |
| Password           | Yes      | Password |                  | Account password.                        |
| Citrix Customer Id | No       | Text     | CitrixOnPremises | Fixed value for on-premises deployments. |
| Is Secure          | No       | Boolean  | True             | Use HTTPS.                               |

## Troubleshooting

No adapter-specific error messages are documented for this adapter.

## Change history

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