
The best triage automation for an MSP that already uses Microsoft Graph data is one that checks the user’s actual account state before it decides what a ticket is. Triage based only on the ticket text has to guess:
“I can’t log in” could be a forgotten password, a locked account, a lost MFA device, a missing licence or a Microsoft outage.
Triage enriched with Graph data knows which one it is, because it has looked at the sign-in logs, MFA methods, licences and account status.
That changes both the category and what happens next, often from “route to L1” to “fix it now”.
This article shows a before-and-after example, lists the Graph signals worth pulling per ticket type, and explains how to do it securely across many client tenants.
Here is the same ticket triaged two ways.
From: Sarah Okafor, Nordic Systems Subject: can’t log in Body: Hi, I can’t get into Outlook or Teams this morning. Keeps saying something is wrong. Can someone help?
Text-only triage
| Field | Result |
|---|---|
| Category | Login issue |
| Priority | P3 |
| Queue | Service Desk L1 |
| Next step | Technician calls the user to find out what is going on |
That is not wrong. It is just not much help. The technician still has to work out what “something is wrong” means.
Graph-enriched triage
DaemonLayer, or any triage that uses Graph, looks up the user in the client’s tenant first:
| Signal | Value |
|---|---|
| Account | Enabled, licensed (Microsoft 365 Business Premium) |
| Recent sign-ins | 6 failures since 07:40, error 50053: account locked after repeated failed attempts |
| Successful sign-in before that | Yesterday 17:02, from the usual location |
| MFA methods | Authenticator app and phone registered |
| Self-service password reset | Registered |
| Microsoft 365 service health | No active incidents for Exchange or Teams |
| Field | Result |
|---|---|
| Category | Account lockout |
| Priority | P2: user fully blocked |
| Next step | Verify identity with a one-time code to the registered phone, unlock the account and reset the password, confirm with the user |
Same ticket, different outcome. The first version creates work for a technician. The second one can be resolved in minutes, without anyone calling the user to ask what the error message said.
The error codes do a lot of the work here. A few that matter most for login tickets:
| Sign-in error | Meaning | Likely category |
|---|---|---|
| 50053 | Account locked, or sign-in blocked after repeated failures | Account lockout |
| 50126 | Invalid username or password | Password issue |
| 50057 | User account is disabled | Account disabled (check for a leaver) |
| 50076 / 50074 | MFA required and not completed | MFA issue |
| 53003 | Blocked by Conditional Access | Policy issue, not a password problem |
You do not need everything for every ticket. Match the signals to the type of request.
| Ticket type | Graph signals | Endpoint | Permission (application) |
|---|---|---|---|
| Can’t log in | Account enabled, sign-in failures and error codes | /users/{id}, /auditLogs/signIns |
User.Read.All, AuditLog.Read.All |
| MFA problems, new phone | Registered authentication methods | /users/{id}/authentication/methods |
UserAuthenticationMethod.Read.All |
| Can’t access a file or site | Group memberships | /users/{id}/memberOf |
GroupMember.Read.All |
| App missing, “I don’t have Teams” | Assigned licences and service plans | /users/{id}/licenseDetails |
User.Read.All |
| Many users, same complaint | Active service incidents | /admin/serviceAnnouncement/issues |
ServiceHealth.Read.All |
| Device problems | The user’s managed devices | /users/{id}/managedDevices |
DeviceManagementManagedDevices.Read.All |
| “Who is this person?” | Manager, department, job title | /users/{id}?$expand=manager |
User.Read.All |
Two practical notes. Reading sign-in logs through Graph needs a Microsoft Entra ID P1 or P2 licence in the client’s tenant, which Microsoft 365 Business Premium includes.
For clients without it, you still have account status and authentication methods, which covers most login tickets. And some things live outside Graph: shared mailbox permissions, for example, are still an Exchange Online question.
The question MSPs ask most about this is not “does it work?” but “how do I do it across 40 tenants without creating a security problem?” Four controls answer it.
GDAP, not blanket access. Granular Delegated Admin Privileges gives you per-customer relationships with specific Entra roles, time-limited and assigned to security groups. For triage, read-only roles are enough.
For actions such as unlocking an account, you add the narrowest role that can do it, per customer.
Least-privilege tiers. Separate reading from writing. A read-only connection gathers context and changes nothing. A read-write connection is only used for actions you have switched on, one workflow at a time.
Certificate authentication. Use certificates rather than client secrets for app authentication. Secrets end up in config files and logs. Certificates are harder to leak and easier to rotate properly.
Tenant isolation. Every lookup must happen in the tenant the ticket belongs to, and nowhere else.
That starts with matching the ticket to the right client reliably, and it means one client’s data is never used as context for another client’s ticket.
DaemonLayer connects to client tenants through GDAP with certificate-based authentication, in one of two tiers: Read-Only or Read-Write.
It matches each ticket to the right tenant in three phases: exact domain, then company name, then a domain lookup from the ticket itself. Each has a confidence score, so a ticket from a personal email address still lands in the right tenant or goes to a person.
During triage it checks the facts that decide the category: account status, sign-in failures, MFA registration, licences, group memberships and Microsoft 365 service health.
If Microsoft has an active incident, related tickets are linked to it straight away, before anyone spends time investigating.
For request types you have enabled, such as password resets and account unlocks, it then makes the fix after verifying the user’s identity. In Read-Only mode, it only adds the context and changes nothing.
Every Microsoft 365 change is stored with before and after values in an append-only audit log, and AI processing runs on models in EU data zones. More on the Microsoft 365 integration and the security model.
One that uses Graph during triage, not just afterwards: checking account status, sign-in errors, MFA methods, licences, group memberships and service health before deciding the category, and then resolving the common cases.
Look for multi-tenant support through GDAP, read-only and read-write tiers, and an audit log of every change.
Use GDAP with the least-privileged roles per customer, separate read-only context gathering from write actions, authenticate with certificates rather than secrets, and make sure every lookup happens only in the ticket’s own tenant.
Log every action with before and after values.
Yes. Several tools combine AI triage and dispatch with Microsoft 365. The difference is depth: some only read basic user details, others use sign-in logs, MFA state and licences to categorise tickets and then resolve them.
Ask each vendor to show a login ticket enriched with real Graph data.
Yes, for well-defined actions such as password resets, account unlocks, group and mailbox changes, and onboarding and offboarding. Each action should run with the narrowest permissions possible, verify the requester’s identity or authority, and be logged.
For read-only triage: User.Read.All, AuditLog.Read.All for sign-in logs, UserAuthenticationMethod.Read.All, GroupMember.Read.All and ServiceHealth.Read.All, plus DeviceManagementManagedDevices.Read.All if you want device context. Write permissions should be added per action, only when you automate that action.
If your triage only reads the ticket text, try one thing: take your last 20 login tickets and look up each user’s sign-in logs. Count how many you could have categorised correctly, and fixed, without speaking to the user.
That number is the case for Graph-enriched triage on your own desk.
To see it working on a real “can’t log in” ticket, book a demo.
Rudy Mens
Co-founder & CTO, DaemonLayer
Rudy has spent 20+ years as an IT specialist and consultant, specializing in Microsoft 365 and IT automation. He founded LazyAdmin.nl and is a recognized Microsoft MVP (2022–2026). He co-founded DaemonLayer to turn the automations he'd been building for MSPs into a product every service desk could rely on.
Connect on LinkedIn →