Skip to main content
Intune Remediations runs the installer daily, so devices stay onboarded and re-apply if their setup drifts.

Before you begin

  • Remediations needs Windows Enterprise E3/E5, Education A3/A5, or Windows VDA per user. Without one, use the scheduled task below.
  • Push Python 3 as a Win32 app first, with InstallAllUsers=1 PrependPath=1 Include_launcher=1.
  • Allow HTTPS to getunbound.ai, backend.getunbound.ai, api.getunbound.ai, raw.githubusercontent.com and github.com.

1. Get your API key

Sign in to Unbound as an admin and open Configure. Under Choose scope select My org (MDM), then under Run the install command select the Windows tab and copy the command. Your key is the value after -ApiKey. It is masked on screen and copied in full. If your command also carries -BackendUrl, -GatewayUrl or -FrontendUrl (a dedicated deployment), add the same switches after -ApiKey in both scripts below. Drop -Backfill if Seed events from past activity is off in Configure.

2. Save the two scripts

Detect_Unbound.ps1 — tells Intune whether the device needs a run:
Remediate_Unbound.ps1 — runs the installer and records the result, replacing YOUR_ADMIN_API_KEY with your key:
Replace YOUR_ADMIN_API_KEY with the key from step 1, and save both files as UTF-8 without a BOM.

3. Create the package

Devices → Manage devices → Scripts and remediations → Create script package
1

Basics

Name it Unbound daily onboard.
2

Settings

Upload both scripts. Set Run this script using the logged-on credentials: No, Enforce script signature check: No, Run script in 64-bit PowerShell: Yes — a 32-bit host redirects C:\Program Files to C:\Program Files (x86).
3

Assignments

Select your developer device group, then the ellipsis beside it → Edit → Schedule: Daily → Apply. Finish with Review + create.
To run it on one device now: Devices → By platform → Windows → the device → … → Run remediation (preview). Otherwise it runs at the next check-in — after a restart, after a sign-in, or within 8 hours.

4. Verify

Intune

Scripts and remediations → Unbound daily onboard → Device status shows Without issues.

Device

C:\Program Files\Unbound\last-success.txt updates daily.

Unbound

Devices appear on Settings → Devices, and show a recent Last Sync on AI Tools Discovery.

Troubleshooting


Command switches


No Remediations licence

A Platform script runs once per device, so deploy this script instead and let it create a daily scheduled task. Devices → Scripts and remediations → Platform scripts → Add → Windows 10 and later, with logged on credentials: No, signature check: No, 64-bit PowerShell host: Yes.
Confirm the Platform script’s Device status reads Success, Task Scheduler lists Unbound Daily Onboard with Last Run Result 0x0, and the device appears in Unbound.

Remove Unbound

Remove the Intune assignment first, or the next check-in reinstalls. Then, in an elevated PowerShell on the device:
If you used the scheduled task, also run:

Tamper Resistance

Keeping Unbound active on every device with managed settings.