Skip to main content

Connect Microsoft Intune

Grant Moon read access to your Microsoft tenant and collect your Intune-managed Windows devices.

R
Written by Romy Haik

Intune has no secret to enter. Your tenant's admin grants Moon access through a Microsoft sign-in.

Who can do this: an Admin or Operator in Moon who is also the tenant's Global Administrator or Privileged Role Administrator in Microsoft Entra. The same person starts and confirms the grant.

Before you start

  • Have your tenant's primary domain (for example contoso.onmicrosoft.com) or its directory (tenant) ID.

  • Sign in to Moon as the person who will sign in to Microsoft.

Add the connection

  1. Go to Configurations > Integrations and click New connection.

  2. Click the Microsoft Intune tile.

  3. Grant access:

    1. In Tenant, enter the tenant's primary domain or its tenant ID.

    2. Click Grant access. Microsoft's sign-in opens.

    3. Sign in as the Global Administrator or Privileged Role Administrator and accept the permissions.

    4. Back in Moon, the page shows Link this tenant to Moon? Check each line: Moon organization, Asked by, Microsoft tenant, Signed in to Microsoft as and Already linked to.

    5. Click Confirm.

  4. Test: click Run test. Moon asks Microsoft for a token in the tenant and checks each Graph role. If the page says Microsoft is still setting Moon up, wait a minute and click Test again.

  5. Device groups (optional): click Include on Entra groups to collect only their devices, or Exclude to never collect them. With nothing included, every device Intune lists is collected.

  6. Name and schedule: enter a Name and choose a Schedule.

  7. Click Create connector. Moon starts reading the tenant.

If the tenant was linked before and no connection uses it, it is listed under Already linked, not used by a connector. Click Continue with this tenant to use it, or Release to remove the link.

Confirm it connected

The first collect reads Intune's device and app reports and can take a few minutes. The card shows the tenant in place of an address. Click Check again to see whether every required permission is granted.

Deploy Windows security updates through Intune

The Microsoft sign-in grants Moon its core read roles. Expedited Windows security updates need more roles:

  1. On the card, click Check again, then Details.

  2. Copy the PowerShell or az CLI script shown and run it as the tenant's Privileged Role Administrator or Global Administrator.

  3. Click Check again to confirm.

  4. Under Used for, turn on Deploy patches.

Windows data must be turned on in the tenant for Intune to expedite updates.

Edit or remove it

  • To edit the name, schedule or device groups, click the pencil on the card.

  • If Microsoft refuses the connection, the card shows Grant access again. The tenant's admin clicks it and signs in to Microsoft again.

  • To remove the connection, click the trash icon and confirm.

See also: Troubleshoot a connection.

Did this answer your question?