Skip to content

Deploying netbird with intune #313

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
108 changes: 104 additions & 4 deletions src/pages/how-to/intune-netbird-integration.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Deploying NetBird with Intune

Microsoft Intune is a cloud-based endpoint management solution that manages user access to organizational resources and simplifies app and device management across multiple platforms, including Android, iOS/iPadOS, Linux, macOS, and Windows client devices. Working alongside Microsoft Entra ID (formerly Azure Active Directory), Intune forms a powerful identity and access management framework organizations rely on to secure digital assets.
Microsoft Intune is a cloud-based endpoint management solution that manages user access to organizational resources and simplifies app and device management across multiple platforms, including Android, iOS/iPadOS, Linux, macOS, and Windows client devices. Working alongside Microsoft Entra ID (formerly Azure Active Directory), Intune forms a powerful identity and access management framework that organizations rely on to secure digital assets.

When combined, Intune and Microsoft Entra ID ensure that only managed and compliant devices can access email, Microsoft 365 services, Software as a service (SaaS) apps, and on-premises applications. This integration combines multiple security signals, such as user identity, device health, and location, to enforce organizational policies using Conditional Access capabilities.

Expand Down Expand Up @@ -51,11 +51,111 @@ Moreover, users will only gain this network access when using compliant devices

With these access policies in place, we can now proceed to configure the automated deployment of NetBird through Intune, ensuring that all team members have the required secure connectivity client installed on their devices.

## Adding NetBird Windows App to Intune
## Deploying NetBird as a Win32 App

Microsoft Intune provides a straightforward way to deploy NetBird to your organization's devices. Here's how:
Opt for Win32 app deployment over the Line-of-Business (LOB) method (described in the next section) when requiring advanced features such as specific detection rules, prerequisites, dependencies, or update supersedence.

### Adding NetBird as a Windows App
### Preparing the `.intunewin` File

Using the Win32 method requires you to convert NetBird's `.exe` installer to the `.intunewin` format. Here's an overview of the procedure:

- Download the Microsoft Win32 Content Prep Tool from [GitHub](https://github.com/Microsoft/Microsoft-Win32-Content-Prep-Tool)
- Download the NetBird Windows EXE installer from the [NetBird installation documentation](https://docs.netbird.io/how-to/installation#windows)
- Run the Content Prep Tool and follow the instructions to convert the NetBird installer to `.intunewin` format.
- For detailed information on using the Win32 Content Prep Tool, refer to [Microsoft's documentation](https://learn.microsoft.com/en-us/intune/intune-service/apps/apps-win32-prepare).

### Adding NetBird Win32 App to Intune Catalog

- Sign in to the [Microsoft Intune admin center](https://intune.microsoft.com), navigate to `Apps`, and click the `Windows` button.

![Adding Windows App](/docs-static/img/how-to-guides/deploying-netbird-with-intune/intune-03.png)

- Click the `+ Create` button to add a new Windows application

![Create Windows App](/docs-static/img/how-to-guides/deploying-netbird-with-intune/intune-04.png)

- In the `App type` dropdown, select `Windows app (Win32)` and click `Select`

![Win32 app](/docs-static/img/how-to-guides/deploying-netbird-with-intune/intune-14.png)

- On the `Add App` screen, click `Select app package file` and browse to the location of the NetBird `.intunewin` file you created earlier

- Select the `.intunewin` file and click `OK`

![Upload NetBird Intunewin](/docs-static/img/how-to-guides/deploying-netbird-with-intune/intune-15.png)

- On the `App information` tab, configure NetBird with the following values:

- **Name**: Leave the default file name
- **Description**: Leave the default file name
- **Publisher**: NetBird
- **App Version**: Enter the current app version (optional)
- **Category**: Select any category that fits your needs (optional)
- **Show this as a featured app in the Company Portal**: Yes
- **Information URL**: https://docs.netbird.io/
- **Developer**: NetBird (optional)

You can leave the rest of the fields empty.

![NetBird Configuration](/docs-static/img/how-to-guides/deploying-netbird-with-intune/intune-16.png)

- Click `Next` to advance to the `Program` tab. Use the following commands in the install and uninstall fields:

- **Install command:** `netbird_installer_0.43.0_windows_amd64.exe /S`
- **Uninstall command:** `"%ProgramFiles%\Netbird\netbird_uninstall.exe" /S`

>**Note:** The commands above assume a standard installation. Change them accordingly if you require NetBird installed on a different path.

For this example, leave the rest of the configuration unchanged. Note that you can change the install behavior and users' ability to uninstall NetBird if required.

![Program tab](/docs-static/img/how-to-guides/deploying-netbird-with-intune/intune-17.png)

- Click `Next` to advance to the `Requirements` tab. Here you can specify the architecture and minimum OS version required for installing NetBird. For instance:

- **Operating system architecture:** 64-bit
- **Minimum operating system:** Windows 10 22H2

![Requirements tab](/docs-static/img/how-to-guides/deploying-netbird-with-intune/intune-18.png)

- Click `Next` to advance to the `Detection rules` tab. Intune lets you choose between **using a custom detection script** or **manually configuring detection rules**. Select the latter and configure it as follows:

- **Rule type:** File
- **Path:** `%ProgramFiles%\Netbird`
- **File or folder:** `netbird.exe`
- **Detection method:** File or folder exists
- **Associated with a 32-bit app on 64-bit clients:** No

Click `OK` when ready.

![Detection Rules tab](/docs-static/img/how-to-guides/deploying-netbird-with-intune/intune-19.png)

For examples on registry-based detection rules, refer to [Intune documentation](https://learn.microsoft.com/en-us/intune/intune-service/apps/apps-win32-add#step-4-detection-rules)

- Click `Next` to continue to the `Dependencies` tab. In this tab, you can add any applications that must be installed before NetBird. For this demonstration, click `Next` to continue.

- Intune's `Supersedence` tab lets you choose between updating or entirely replacing any other specific application listed. Click `Next` without adding any apps to skip the supersedence configuration for this deployment.

- On the `Assignments` tab, under `Required`, click `+ Add group`

![Add Groups to NetBird App](/docs-static/img/how-to-guides/deploying-netbird-with-intune/intune-20.png)

- Select the appropriate group that contains your users (like the `Development` group synchronized from Entra ID) and click `Select`

![Assign Groups](/docs-static/img/how-to-guides/deploying-netbird-with-intune/intune-09.png)

- To continue, click `Next`. Review your configuration in the `Review + create` tab, then click `Create` to add NetBird to your Intune app catalog.

![Review Configuration](/docs-static/img/how-to-guides/deploying-netbird-with-intune/intune-21.png)

- To verify that NetBird was added to Intune, navigate to `Apps > All Apps` to see your Windows applications:

![Windows App Catalog](/docs-static/img/how-to-guides/deploying-netbird-with-intune/intune-22.png)

## Deploying NetBird as a Line-of-business (LOB) App

As a simpler alternative to the Win32 method described previously, you can deploy the NetBird MSI installer directly as a Line-of-Business (LOB) app. This approach is ideal for basic deployment scenarios that don't necessitate the advanced management features offered by Win32.

### Adding NetBird MSI Installer to Intune

- Download the NetBird Windows MSI installer from the [NetBird installation documentation](https://docs.netbird.io/how-to/installation#windows)
- Sign in to the [Microsoft Intune admin center](https://intune.microsoft.com), navigate to `Apps`, and click the `Windows` button.
Expand Down