
# XFA

Use XFA to deploy Device Protection to every Windows device your team uses for work. That includes personal and contractor devices that aren't enrolled in mobile device management (MDM).

## How it works

1. The person signs in to a work app with your organization's identity provider.
2. XFA checks the device against your policy, including whether Device Protection is installed and running.
3. If the check fails, XFA shows the person what to fix and starts the Device Protection install with your enrollment token.
4. Once Device Protection is active, the check passes and the person continues signing in. The device appears in the Noon dashboard.

In XFA, Device Protection is listed under the Aikido name.

## Prerequisites

* An XFA organization with verification at sign-in set up for your identity provider. See the [XFA docs](https://docs.xfa.tech).
* The XFA app on the devices you want to cover. People who don't have it yet are prompted to install it at their first sign-in.
* Your Device Protection enrollment token. In the [Noon dashboard](https://app.noon.security/devices), click **Connect Device** and copy the token from the installation instructions.

## Set up the deployment

{% stepper %}
{% step %}
### Add your token to XFA

1. In XFA, go to **Integrations** → **Aikido**.
2. Paste your Device Protection enrollment token.
3. Click **Save**.

XFA uses this token to enroll each device in your Noon workspace during the install.
{% endstep %}

{% step %}
### Add the Device Protection check to your policy

1. In XFA, go to **Policies** and open the policy that applies to your target people or groups.
2. Turn on the **Aikido Endpoint** check for Windows.
3. Set the enforcement level and save the policy:
   * **Warn**: people are told to install Device Protection, but can still sign in.
   * **Block**: people can't sign in until Device Protection is installed and running.

{% hint style="info" %}
Start with **Warn** for a few days so people can install Device Protection at a convenient moment, then switch to **Block**. You can also apply the policy to a small group first.
{% endhint %}
{% endstep %}

{% step %}
### Let people install Device Protection at sign-in

No further action is needed from you. The next time a person in scope signs in:

1. XFA shows that Device Protection is missing and offers to install it.
2. The person confirms. XFA asks for admin rights only for this install, then runs the Device Protection installer with your token.
3. XFA guides the person through the approval prompts the installer shows on Windows.
4. XFA checks the device again. Once Device Protection is active, the person continues to their app.

After the install, XFA keeps checking that Device Protection stays installed and running.
{% endstep %}

{% step %}
### Check that it works

On a test device, confirm:

1. The Aikido check shows as passing for the device in XFA under **Devices**.
2. The device appears with an *Active* status in the [Noon dashboard](https://app.noon.security/devices).
{% endstep %}
{% endstepper %}

## Troubleshooting

On the device, Device Protection appears as Aikido Endpoint Protection.

| Problem | Fix |
| --- | --- |
| Device Protection is installed but the device doesn't appear in the Noon dashboard | Check that the token saved in XFA matches the one in your Noon workspace and hasn't been revoked |
| The XFA check still fails after the install | Restart the device so Device Protection fully activates, then sign in again |
| You want people to install Device Protection without being blocked yet | Set the Aikido check to **Warn** in the XFA policy |
