Five pieces. One tenant.

I'm Marwen Mahmoud, an L3 engineer. For eight years I've been fitting Entra ID, Intune, Exchange, SharePoint and Teams together until they work as one system.

Each piece is sealed somewhere below. Collect all five and wake what sleeps inside the tenant. Sound on.
Entra ID Intune SharePoint Teams Exchange

The five pieces

Each one is a part of Microsoft 365 I run at L3 level. Alone, each is useful. Together, they're a tenant that stops generating tickets.

0 of 5 pieces
The seal holds.
The head

Entra ID

Identity decides who gets in and what they can touch. Every other piece takes orders from here.

  • Conditional Access and MFA design
  • Hybrid identity with on-prem Active Directory
  • Sign-in investigations and root cause analysis
The left arm

Exchange

Mail is where users notice problems first, so it's where fixes need to be fastest.

  • Exchange Online mail flow and message trace
  • Shared mailboxes, permissions and migrations
  • Data loss prevention policies
The right arm

Intune

Every laptop and phone, enrolled, compliant and patched without anyone touching it.

  • Autopilot and device enrolment
  • Compliance and configuration policies
  • App deployment and endpoint troubleshooting
The left leg

Teams

Meetings, chat and calls that just work, which only happens when the other four pieces are right.

  • Teams policies and governance
  • Meeting and calling issue resolution
  • Team lifecycle and guest access
The right leg

SharePoint

The company's files and intranet, organised so people find things and only the right people can open them.

  • SharePoint Online sites and architecture
  • Permissions, sharing and access issues
  • Content migration and governance

Also in my deck

L3 troubleshooting and root cause analysis Incident and problem management (ITIL) Active Directory, GPO, DNS, DHCP Windows Server VMware ManageEngine and endpoint management Backup and service continuity Networking Asset management ServiceNow

Side projects

Tools I build for Microsoft 365 admins and support teams. Everything I can share is open source on GitHub.

The Intune toolkit

Three PowerShell tools built on Microsoft Graph that work as one routine: check the tenant, find the device records that have drifted, then clean them up without guesswork.

Browse all repositories
  1. Check

    Intune Tenant Health Check

    Catches the things that break quietly: Apple tokens about to expire, failing connectors, app secrets nearing their end date, risky settings and untidy policies. Run it before they turn into tickets.

    Read-only, changes nothing
    PowerShellMicrosoft GraphIntune
    View on GitHub
  2. Find

    Intune Stale Device Report

    Cross-references Intune, Entra ID and Autopilot to surface stale, orphaned and duplicate device records, with a plain explanation and next step for each finding. Delivers an offline HTML report, JSON and CSV.

    Read-only, changes nothing
    PowerShellMicrosoft GraphEntra IDAutopilot
    View on GitHub
  3. Clean

    Intune Device Lifecycle Console

    A local web console for bulk offboarding. Paste serials, device names or IMEIs, preview every match across Intune, Autopilot and Entra, dry-run, then remove only what you selected. Includes bulk import of up to 5,000 corporate identifiers.

    Deletes only behind safety gates
    PowerShellMicrosoft GraphLocal web UI
    View on GitHub

Two Graph toolkits, 24 audit apps

Read-only web apps that sign in with your own Entra app registration and never change anything in the tenant. Both are preproduction reference builds, so test them in a lab tenant before you rely on them.

12 apps

AdminOps Studio

Twelve audit apps and one portal for the workloads I live in. Each one answers a single admin question, with prioritised findings, a next step and CSV or JSON export.

Intune
  • Device Drift
  • Autopilot Reconcile
  • Policy Coverage
  • App Assignment
SharePoint
  • Site Discovery
  • Sharing Sentinel
  • File Lifecycle
  • Library Governance
Teams
  • Owner Resilience
  • Guest Ledger
  • Channel Topology
  • App Footprint
Read-only Microsoft Graph, no write calls
ReactViteMSALMicrosoft Graph
View on GitHub
12 apps

SentinelOps 365

The identity, licensing and security side: who is dormant, who holds power, what licences are wasted and which Defender alerts nobody owns. Includes a synthetic preview mode that works without a tenant login.

Entra ID
  • Dormant Identity Radar
  • Conditional Access Lens
  • Privileged Role Atlas
  • OAuth Consent Sentinel
Licensing
  • SKU Capacity Radar
  • License Reclaim Queue
  • Assignment Failure Inspector
  • Department Entitlement Atlas
Defender
  • Incident Aging Watch
  • Alert Priority Workbench
  • Secure Score Board
  • Detection Signal Map
Read-only Microsoft Graph, no write calls
ReactViteMSALMicrosoft GraphDefender XDR
View on GitHub

ServiceNow, minus the busywork

Two browser extensions for support teams that live in ServiceNow. Free, open source under MIT, and published on the Chrome, Firefox and Edge stores. No tracking, no external servers.

Live in 3 storesv1.2.1MIT

KB Guard

Every resolved incident should leave a trail the next agent can follow. KB Guard holds Resolve and Close until a knowledge article is linked.

  • Catches the Resolve and Close buttons, and saves that move an incident to Resolved or Closed
  • Group rules: each assignment group gets its own list of approved articles, pasted straight from Excel
  • Export your settings and share them, so the whole team runs the same rules
  • Talks only to your own instance with your existing session. Settings stay in your browser

Client-side check for classic incident forms. For enforcement that also covers integrations and list edits, pair it with the business rule in the README.

Try it. Resolve this incident.
Incident INC0041872
Outlook keeps asking for password
M365 L3
In Progress
Empty
0Incidents held
0Resolved with an article
Live in 3 storesv3.3.1MIT

Round Robin Dispatcher

Assigns unassigned ServiceNow incidents and tasks to your team in rotation, so nobody cherry-picks and nothing sits in the queue.

  • Skips anyone who's off that day and picks up where the rotation left off
  • Separate rotations for incidents and tasks
  • Runs on a button press, or automatically while you work
  • Works with any ServiceNow instance

ServiceNow is a trademark of ServiceNow, Inc. These extensions are made by Exentis and aren't affiliated with or endorsed by ServiceNow.

Try it. Clear the queue.
Unassigned incidents 5 waiting
Queue
    Rotation
      Beyond work

      Hal9tek حلقتك

      A small side project for a very Tunisian problem: what are we watching tonight? It picks a random episode of Choufli Hal, Dar El Khlaa or Jari Ya Hammouda and links straight to a YouTube search for it. Arabic, right to left, light and dark themes, a calendar and a personal watchlist. No cookies, no tracking, no ads, and it hosts no video.

      Arabic RTLVanilla JSLight and darkNo tracking
      Open Hal9tek

      Next piece of the workshop

      More scripts, guides and tools for M365 admins are on the way. New ones land on GitHub first.

      Follow on GitHub

      My card

      Add it to your team. Click the card to flip it for my contact details.

      Marwen Mahmoud
      Engineer / Modern Workplace / L3
      When this card joins your team, identity, devices, mail, files and meetings stop being separate problems. Incidents are traced to their root cause and closed for good.
      8 years in the fieldEXT-0001

      Marwen Mahmoud

      L3 Modern Workplace engineer with eight years in enterprise IT. I take the escalations nobody else could close, find out why they happened, and make sure they don't come back.

      Focus
      Microsoft 365: Entra ID, Intune, Exchange, SharePoint, Teams
      Level
      L3 escalation, root cause analysis, incident and problem management
      Built
      Intune toolkit, KB Guard and Round Robin Dispatcher
      Based in
      Tunisia, open to relocation
      Languages
      Arabic, French, English

      Fuel the summoner

      The scripts, guides and extensions here are free. If one saved you a long night, a coffee helps the next one get built.