Skip to main content
Microsoft Intune cover — a firm handshake from tenant to device group. Intune is the one MDM AgenShield connects to directly. Connect your Microsoft Entra tenant once, and every campaign afterwards deploys from the Frontegg Portal: no downloading profiles, no uploading packages, no keeping two systems in sync by hand.

Connected (recommended)

Register one Entra app. AgenShield creates the group, the profile, the installer app, and the offboarding script for you — and can repair them if they drift.

Manual upload

Download the campaign’s profile and package and push them yourself. Fully supported, no tenant connection.

Connected integration

You do four things once — register an app, hand over two IDs, upload a certificate, grant permissions — and from then on every campaign deploys with one click from the Frontegg Portal.

What AgenShield does on your behalf

Once connected, pushing a campaign creates and maintains these objects in your tenant: Your side of the deal is one thing: put devices or users in the group. You can do that from the Frontegg Portal or from Intune — both work.

Connect your tenant

Settings → Integrations → Connect Microsoft Intune. The wizard has four steps and takes about five minutes. AgenShield authenticates with a certificate it generates — you never create, paste, or rotate a client secret.
Integrations page in the Frontegg Portal showing the Connect Microsoft Intune starting point, with a callout reading: push enrollment to the fleet.

Settings → Integrations — where the connection starts and where its health is reported afterwards.

1. Register an app in Entra

In the Entra admin center: Entra ID → App registrations → New registration.
  • Name it something recognisable, e.g. AgenShield.
  • Keep the default account type — your organization only.
  • Skip the redirect URI. It is not used.
  • Select Register.
Connect Microsoft Intune wizard, step one of four, showing the Entra path — Entra ID, App registrations, New registration — with a callout reading: register once in Entra.

The wizard mirrors the Entra steps as you go — register once, then hand the two IDs back.

2. Give AgenShield the app’s identifiers

Back in the wizard, enter a name for the connection plus the two GUIDs from your new app registration’s overview page:

3. Upload the certificate

AgenShield generates a keypair, keeps the private key encrypted, and hands you the public half. Download it, then in your app registration go to Certificates & secrets → Certificates → Upload certificate and add the file. The wizard shows the SHA-1 thumbprint Entra will display after upload — compare the two to confirm you uploaded the right file to the right app. API permissions → Add a permission → Microsoft Graph → Application permissions.
Pick the Application permissions tile. Delegated — the tab Entra opens first — will not work: AgenShield runs with no signed-in user, and the connection test fails with a Microsoft “UnknownError” if the permissions were added as Delegated. This is the single most common setup mistake.
Required. The connection test probes each of these individually, so a failure tells you exactly which one is missing.
Each unlocks one specific feature and nothing else. To add one later, append the permission and re-run Grant admin consent — no reconnection needed.
Then select Grant admin consent for your organization, confirm, and Refresh — every row must read “Granted”. Finally, run the wizard’s connection test.
Entra propagates consent and certificate changes with a lag, so a test run immediately after setup can fail and then pass. AgenShield retries automatically before reporting an error. If it still fails, Settings → Integrations shows a live per-permission status — it names the exact grant that is missing rather than making you guess.

Push a campaign

From Devices (on the campaign) or Settings → Integrations, choose Push to Intune:
  1. Pick the campaign.
  2. Name the group — e.g. AgenShield — Engineering Macs.
  3. Choose whether members will be devices or users.
AgenShield creates the group, materializes and assigns the campaign profile, and assigns the installer app. It runs in the background and usually completes in under a minute; the screen updates itself. Then add members. Nothing deploys until the group has members — Intune applies a profile only to members of the group it is assigned to.
Membership changes take a few minutes to reach devices. That is Intune’s check-in cadence, not AgenShield.

One device, one campaign

A device or user may belong to only one AgenShield campaign group per connection. If you try to add one that is already in another campaign’s group, the whole request is refused and the conflicts are listed — moving a device between campaigns is a decision, not a side effect. Confirm, and AgenShield removes it from the other group first.

Track the rollout

With DeviceManagementManagedDevices.Read.All granted, the push view joins your group membership against Intune’s device inventory and against the Macs that actually enrolled: It also lists enrolled devices that are not in the group — usually machines that were installed by script before the MDM push existed.

Offboard a device

Use Offboard, not “remove from group”.
Removing a member from the campaign group does not uninstall AgenShield. MDMs run scripts when a device is added to a group, never when it is removed — so a plain removal leaves the software installed and merely unmanaged.
Offboarding does both halves: it removes the member from the campaign group and adds it to the connection’s uninstall group, whose assigned script removes AgenShield at the next check-in. Re-onboarding later pulls it back out of the uninstall group automatically, so no device ever sits in both.

Keep it healthy

Two maintenance actions, both in Settings → Integrations: If someone edits or deletes an AgenShield object in Intune or Entra, Check setup reports it and Repair converges it back. Publishing a new release: the installer app is published once per connection and shared by every campaign group. After a new AgenShield release, re-publish it from the connection — every campaign picks up the new version without being re-pushed.

Manual upload

No tenant connection, no app registration. Download the two artifacts from the campaign and push them yourself.

The configuration profile

  1. Devices → Manage devices → Configuration → Create → New policy.
  2. Platform macOS, profile type Templates → Custom.
  3. Name it, e.g. AgenShield, and upload agenshield.mobileconfig.
  4. Deployment channel: Device channel.
  5. Assign it to your target device group.
The deployment channel is the setting people get wrong. User-channel delivery breaks the system-extension and managed-preferences payloads, and the channel is immutable after creation — if you picked wrong, delete the profile and create a new one.

The installer package

  1. Apps → macOS → Add → macOS app (PKG).
  2. Upload the campaign’s package.
  3. Included app: bundle ID com.frontegg.AgenShield, and the package’s version.
  4. Assign as Required to the same group.
Notes: the unmanaged-PKG app type installs through the Intune management agent (version 2308.006 or later), and devices need an active Intune license. If your tenant uses Multi-Admin Approval, the profile and app may sit in pending approval before they deploy. Using the split profiles instead of the all-in-one? Repeat the profile steps for each file — device channel on all of them.

Next

Enrolled devices

Reading fleet health once devices land.

MDM enrollment reference

What each profile payload does, and how to verify a device.