Luna HR Docs

Connecting Microsoft Intune

If your company already manages its devices in Microsoft Intune, Luna can read them into Device Security without installing anything else. Intune devices sit alongside anything Fleet reports and the employee confirmations, and each laptop is scored once on whatever each source can see.

Before you start

  • The Device Security module is on under Admin → Modules.
  • Your company has Intune licences. Intune comes with Microsoft 365 Business Premium, E3 and E5; Business Basic and Business Standard do not include it.
  • You can sign in to Microsoft as a Global Administrator or Privileged Role Administrator. Those are the only roles Microsoft lets grant an app access to device data across the organisation.

Connect

  1. In Luna, go to Admin → Integrations → Microsoft Intune → Connect.
  2. Sign in with your work Microsoft account. This tells Luna which organisation you are connecting; a personal Microsoft account is refused.
  3. Microsoft shows the permissions Luna asks for. Review them and choose Accept.
  4. You return to Luna's Integrations page. The first sync runs straight away; devices appear on Admin → Device Security within a minute or two.

If you see "connected, but Microsoft refused the device list", the connection is saved but your tenant has no Intune licence yet, or the consent did not include device access. Once that is sorted, use Sync now.

What Luna can read

Luna asks for two read-only Microsoft Graph permissions, and nothing else:

| Permission | Why | |---|---| | Read Microsoft Intune devices (DeviceManagementManagedDevices.Read.All) | The list of managed devices: name, serial number, assigned user, operating system and version, whether the disk is encrypted, when it last checked in | | Read organisation information (Organization.Read.All) | Your organisation's name, so the Integrations page shows what is connected |

Luna cannot change devices, read email or files, or see anything outside Intune's device list. It stores the check results and the device details above, not a copy of Intune.

What it scores

From Intune's device list Luna takes:

  • Operating system still supported, from the OS version
  • Disk encrypted, from Intune's encryption flag

Intune's standard device list does not say whether the firewall, malware protection or screen lock are on, or whether the day-to-day account is an administrator. Those checks come from Fleet where it is installed, or from each employee's quarterly confirmation. On the Device Security page every check says which source it came from.

How devices are linked to people

Exactly as with Fleet: the device's serial number is matched to an asset's serial number, and the device is reported against whoever holds that asset. Where nothing matches, Luna uses the user Intune has assigned (their sign-in name) to find the employee. Personal phones enrolled in Intune usually link this way.

How often it updates

Every hour. Microsoft does not notify apps when an Intune device changes, so there is no faster route; use Sync now on the Integrations page if you have just fixed something.

Disconnecting

Admin → Integrations → Microsoft Intune → Disconnect stops Luna reading. Devices stay listed, but two days after the last read their Intune checks count as unknown.

Disconnecting in Luna does not remove the consent in your Microsoft tenant. To remove Luna's access completely, open Microsoft Entra admin centre → Enterprise applications, find Luna HR and delete it. If you do that without disconnecting first, Luna's next sync fails and the Integrations card shows the error.

One Microsoft organisation can be connected to one Luna account at a time.