> ## Documentation Index
> Fetch the complete documentation index at: https://docsnewgen.flexxible.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deploy on macOS with Microsoft Intune

> This guide explains how to deploy FlexxAgent through Intune on macOS devices.

**FlexxAgent** can be deployed centrally on macOS devices through Microsoft Intune. This method automates agent installation and manages its distribution across the organization's devices.

Before starting the deployment, we recommend reviewing the [FlexxAgent for macOS](../flexxagent/systems/mac) documentation to understand the agent's requirements and features on macOS.

## Requirements

Before starting the deployment:

* macOS devices must be enrolled in Microsoft Intune.
* You must have the FlexxAgent installation script (`.sh`).

## Download the installation script

The agent is distributed for macOS through an installation script.

To obtain it:

1. Download FlexxAgent from the platform.
2. Get the installation file with the `.sh` extension.

   <img src="https://mintcdn.com/flexxible/Gnuv_eaC0w1jtwSs/images/flexxagent/sh-mac.png?fit=max&auto=format&n=Gnuv_eaC0w1jtwSs&q=85&s=7ebb39b414f92bae6748f991006bcd73" alt="sh-mac" width="999" height="422" data-path="images/flexxagent/sh-mac.png" />

For more information about downloading and installing the agent on macOS, see [FlexxAgent for macOS](../flexxagent/systems/mac).

## Configure the deployment in Microsoft Intune

Once the installation script has been downloaded:

1. Sign in to the **Microsoft Intune admin center**.

2. In the side menu, go to **Devices** → **macOS**.

3. Under **Manage devices**, select **Scripts**.

4. Create a new script.

5. Complete the configuration by following the steps below.

   ### Basics

   Enter the general information for the script.

   <img src="https://mintcdn.com/flexxible/UB61G-nGlZ1BKbxa/images/flexxagent/1mac-intune.png?fit=max&auto=format&n=UB61G-nGlZ1BKbxa&q=85&s=c7ef22a6b267331593f62eae376172d0" alt="1mac-intune" width="750" height="444" data-path="images/flexxagent/1mac-intune.png" />

   ### Script settings

   Configure the script and upload the FlexxAgent `.sh` file.

   <img src="https://mintcdn.com/flexxible/UB61G-nGlZ1BKbxa/images/flexxagent/2mac-intune.png?fit=max&auto=format&n=UB61G-nGlZ1BKbxa&q=85&s=c82fd61748627193e554037df636acc4" alt="2mac-intune" width="750" height="384" data-path="images/flexxagent/2mac-intune.png" />

   ### Scope tags

   Configure the scope tags that correspond to the organization.

   <img src="https://mintcdn.com/flexxible/UB61G-nGlZ1BKbxa/images/flexxagent/3mac-intune.png?fit=max&auto=format&n=UB61G-nGlZ1BKbxa&q=85&s=bec6bee99d4674fabd66abef721ef605" alt="3mac-intune" width="750" height="466" data-path="images/flexxagent/3mac-intune.png" />

   ### Assignments

   Select the user or device groups the installation script will be assigned to.

   <img src="https://mintcdn.com/flexxible/UB61G-nGlZ1BKbxa/images/flexxagent/4mac-intune.png?fit=max&auto=format&n=UB61G-nGlZ1BKbxa&q=85&s=baa5d3b7b1ec4d6f9ff0b31669b51ed7" alt="4mac-intune" width="750" height="513" data-path="images/flexxagent/4mac-intune.png" />

6. Review the configuration and create the script.

## Verify the installation

Once the script has run on the assigned devices, check that FlexxAgent has been installed correctly.

Devices where the agent has been installed and registered correctly will appear on the platform.
