Nightfall Windows Agent Deployment: Microsoft Intune

Learn how to install the Nightfall Agent for Windows using Intune as a Line-of-Business (LOB) app.

The Microsoft Intune installation consists of the following steps:

  1. Connect Microsoft Intune to Nightfall (API-based MDM Onboarding)

  2. Deploy the Nightfall Agent via Intune

Prerequisites

  • You are a Systems Administrator in Nightfall

  • You must have access to Microsoft Intune with the necessary admin privileges. An Intune administrator account with permission to approve OAuth access

  • Get the .msi package and command arguments form https://app.nightfall.ai/endpointarrow-up-right

    • Download the .msi installer file for the Nightfall Agent.

    • Note the API Key and Company ID in the command line provided by Nightfall.

Step 1: Connect Microsoft Intune to Nightfall (API-based MDM Onboarding)

This step enables automated mapping of user profiles to devices without requiring manual scripts.

API-based MDM onboarding allows Nightfall to automatically map the user email attribute to specific devices by syncing device inventory from your Microsoft Intune tenant using OAuth-based authentication.

Connecting Microsoft Intune to Nightfall

  1. Log in to the Nightfall Console at https://app.nightfall.aiarrow-up-right

  2. Navigate to Settings - MDM Profile

  3. Click Add MDM

  4. Select Microsoft Intune from the list of supported MDM providers

  5. Click Microsoft Intune Login

  6. You will be redirected to Microsoft's login page

  7. Authenticate with your Microsoft admin account

  8. Review and approve the requested permissions:

    • Read device information

    • Read user profiles

    • Access basic organization information

  9. Click Accept to grant permissions

Once authentication is complete, Nightfall will automatically connect to your Intune tenant and begin syncing device data.

Important: This API-based connection enables Nightfall to automatically map user email addresses to devices. You do not need to deploy any additional scripts for user-to-device mapping when using this method.

Permissions Required

Nightfall requests the following Microsoft Graph API permissions:

  • DeviceManagementManagedDevices.Read.All - Read managed device information

  • User.Read.All - Read user profiles

  • Organization.Read.All - Read basic organization details

These are read-only permissions. Nightfall does not modify device settings or configurations.

After Connection

Once connected, Nightfall will periodically sync device inventory from Microsoft Intune. You can now proceed to deploy the Nightfall agent to your devices following the steps below.

Step 2: Deployment Steps

  1. Log into the Intune Admin Center

  2. Select App Type

    • Under App type, choose: Line-of-business app

  3. Add App Package

    • In the App package file section, click Select app package file.

    • Upload the NightfallAgent.msi file.

  4. Configure App Information

    • Fill in the Name, Description, and other fields as desired.

    • Click Next.

  5. Specify Install Command Line

    • In the Command-line arguments field, enter:

  6. Assign the App

    • Assign the app to the appropriate device groups or users.

    • Click Next and complete the wizard.

  7. Monitor Deployment

    • Go to Monitor > App Install Status to confirm successful deployment.

  8. Verify Installation on a target/test machine

    1. Once installation shows as successfull by Intune, check if the agent is running:

      1. Open Task Manager (Ctrl + Shift + Esc).

      2. Look for the Nightfall Agent & NightfallUI processes under the Processes tab.

    2. Confirm the Nightfall agent is configured to your Nightfall tenant

      1. On the windows machine:

        1. Double-click the Nightfall agent icon in the status bar.

        2. The displayed UUID should match your Nightfall tenant UUID located under https://app.nightfall.ai/settings/arrow-up-right

      2. On the Nightfall console:

        1. The newly configured device should be listed under https://app.nightfall.ai/endpointarrow-up-right.

Frequently Asked Questions (FAQs)

Do I still need to install a Nightfall agent on devices after API-based onboarding?

Yes. API-based MDM onboarding enables Nightfall to map user email addresses to devices automatically. You still need to deploy the Nightfall agent to the devices using the steps above.

What permissions does Nightfall need in Microsoft Intune?

Nightfall requires least privilege read-only access to device inventory and user information via Microsoft Graph API. It does not modify device settings or configurations. The user email to device attribution is automatically managed with API-based MDM onboarding and no manual scripts are needed.

Is OAuth-based authentication secure?

Yes. Nightfall uses Microsoft's OAuth 2.0 authentication flow with encrypted connections. Credentials are securely stored and refreshed automatically.

What happens if OAuth permissions are revoked?

If OAuth permissions are revoked:

  • Device syncing will stop. New devices added or removed will not be reflected in Nightfall during that time.

  • Nightfall will surface an error in the console.

  • You can re-authenticate without reconfiguring policies by reconnecting from Settings → MDM Profile.

Can I disconnect or change my MDM connection later?

Yes. Contact Nightfall Support to disconnect or update your MDM connection from Settings → MDM Profile.

What device types are supported with Intune?

Microsoft Intune supports both Windows and macOS devices. Nightfall will sync inventory for both device types when connected via API-based onboarding.

Who should I contact if onboarding fails?

If you encounter issues:

  • Verify you have admin permissions in Microsoft Intune

  • Check the error message in the Nightfall console

  • Ensure you approved all requested OAuth permissions

  • Contact Nightfall Support for assistance

Last updated

Was this helpful?