{% extends "base.html" %} {% block title %}Microsoft 365 · SD RMM{% endblock %} {% block content %}

Microsoft 365 — Entra ID & Intune

Connect an organization's Microsoft tenant to sync its Entra ID device objects and Intune managed devices into SD RMM — device IDs, serial numbers, disk space, compliance state and primary user, alongside the native RMM agent data. Read-only, app-only (client-credentials): no signed-in user is required and SD RMM can never change anything in your tenant.

{% if orgs|length > 1 %}
{% endif %} {% if not sel %}

You have no organizations yet. Create one in Admin first.

{% else %}

Connection status

{% if tenant and tenant.status=='connected' %} Connected {% elif tenant and tenant.status=='error' %} Connection error {% else %} Disconnected — preview mode {% endif %}
{% if tenant %}
Tenant ID{{ tenant.tenant_id }} Client ID{{ tenant.client_id }} Devices synced{{ tenant.device_count }} Last sync{{ tenant.last_sync_at| pt('%Y-%m-%d %H:%M') if tenant.last_sync_at else 'never' }}
{% if tenant.last_error %}
{{ tenant.last_error }}
{% endif %}
View devices →
{% else %}

No tenant connected for {{ sel.name }}. The Devices view shows the field schema as a preview until you connect below.

{% endif %}

{% if tenant %}Update credentials{% else %}Connect a tenant{% endif %}

Required Graph permissions

    {% for s in scopes %}
  • {{ s }}
  • {% endfor %}

Application permissions, admin-consented.

Setup (one-time, in Entra admin center)

  1. Go to entra.microsoft.comIdentity → Applications → App registrationsNew registration. Name it “SD RMM Connector”, single tenant.
  2. Copy the Directory (tenant) ID and Application (client) ID from the overview.
  3. API permissionsAdd a permissionMicrosoft Graph → Application permissions → add the three scopes listed left → Grant admin consent.
  4. Certificates & secretsNew client secret → copy the secret Value (shown once).
  5. Paste all three into the form and Test & save. SD RMM stores the secret encrypted at rest and syncs hourly.
{% endif %} {% endblock %}