Five weeks into the telemetry window, the numbers landed: $72,000 a month before remediation, $40,000 after. Thirty-two thousand dollars a month, a 44% reduction, on an environment that had already been discounted to the bone. Then we showed the client the security model that produced it, and they said no.

ℹ If you read one line

A model that saves 44% but needs roughly one hundred roles is a saving nobody can operate, so role count has to be a design constraint, not an afterthought.

The client was right, and it showed us the limits of a playbook we've used successfully for years.

The client, and the pricing wrinkle

The client is a large, mission-driven organization that qualifies on paper for both educational and nonprofit pricing, a genuine choice of price tier most organizations never get. We modeled both, and educational won, with a 70% discount that would make most CFOs stop asking questions. But this organization has 964 users requiring licenses, and their Microsoft assessment demanded the full spectrum of SKUs: Commerce, Finance, Supply Chain Management, and Project Operations. Seventy percent off a very large number is still a very large number.

Why this was one of the hardest environments we've analyzed

Almost nobody here logs into D365 the way you'd picture it. Their work happens in Power Apps and adjacent front ends, which connect through integration points into Finance & Supply Chain, where the transactions are created. The people need licensed D365 accounts but will never see a D365 form.

Diagram: 964 users who rarely open D365 work through external Power Apps and portals, which connect through an integration point into D365 F&SC, where the license is actually consumed even though the human never sees the screen.
The thin-client problem. The license is consumed in D365; the human is somewhere else entirely.

This thin-client pattern is consistently the hardest scenario in license analysis, and here it covered nearly the entire user base, across many modules. Of the 51 roles assigned to users, 37 required more than one license, and at least ten integration roles demanded all four SKUs. Requirements mixed that heavily mean users hold access they never exercise, or the design has drifted. Here, both were true.

The snowball

A handful of privileges also carried mixed requirements, a single privilege demanding, say, both Supply Chain and Project Operations. That matters more than the count suggests, because license requirements only ever roll upward.

Diagram showing a single privilege requiring 2 SKUs rolling up to a duty requiring 2 SKUs, to a role requiring 4 SKUs, to a user billed for 4 SKUs, with the caption that nothing is ever dropped on the way up.
A single mixed privilege propagates from duty to role to user. Nothing is ever dropped on the way up.

A privilege demanding two SKUs hands both to its duty, and the duty to the role. The role, alongside other privileges with their own demands, hands four to the user, and Microsoft bills for four. Two badly scoped privileges can inflate the license footprint of hundreds of people. Two is exactly what we found, but here the mechanism was present and the mass was not, so fixing it saved little.

Three of our four levers were dead ends

The inactive-user sweep that normally reclaims 5 to 10% of an estate found nine accounts, all holding unlicensed system-administration or service roles. We found no device users on Supply Chain roles where an Operations Activity license would do, and no over-provisioned external or partner accounts. Our proven playbook had produced almost no money.

Telemetry did all the work

Roughly five weeks of telemetry was enough. We assume anything supporting an integration point is fully utilized: real integration use is often impossible to observe reliably, and breaking a running interface costs far more than the license saving. Everything reached through the user interface can be measured directly.

Two heatmaps of users by privileges: granted access is dense and covers nearly everything, while actually-used access measured by telemetry is sparse, showing a large gap between what was granted and what was exercised.
Illustrative. Granted access is dense; exercised access is sparse. The white space between them is the budget.

The gap was enormous. Users held access to modules untouched in five weeks, and roles demanded Project Operations from people whose telemetry showed only Supply Chain and Finance activity. Strip the license requirement back to what the evidence supports, and the monthly bill falls from $72,000 to $40,000.

Waterfall chart from $72,000 baseline: inactive users, device over-licensing, and external accounts each show no saving, mixed privileges save $1,000, telemetry-driven access reduction saves $31,000, ending at $40,000 remediated.
Where the savings came from, and where they conspicuously did not.

The flat bars are the story. The one lever that worked took five weeks of patience and trust in behavioral evidence over configuration documents.

The optimal answer, and why the client rejected it

We designed the remediated model with our standard technique: split every multi-license role by SKU. Each fragment inherits all menu items belonging to its SKU, plus everything covered beneath it: Operations Activity items, Team Members items, and items requiring no license. It's clean and defensible, and with three dozen multi-SKU roles, ten of them demanding all four, it produced roughly one hundred roles.

A fork diagram: 51 assigned roles, 37 requiring multiple SKUs, splitting into two paths. Split every role by SKU, the standard playbook, produces about 100 roles and was rejected as unmaintainable. Cluster on telemetry produces far fewer, activity-based roles.
The fork. Both branches deliver the savings. Only one of them can be operated on a Monday morning.

The client's response was immediate and correct: a hundred-role model is unmaintainable, untestable, and unintelligible to the administrators who have to live with it. A security design no one can reason about is a liability with a spreadsheet attached. They didn't dispute the savings, only the shape of the thing that delivered them.

The rebuild: security as a role-mining problem

They asked for something more ambitious: start from what people demonstrably do, at the privilege level rather than the menu-item level, and build roles around the most common combinations of tasks, minimizing the number of roles each user carries. Each user is described by two things:

In plain language it's clustering: group similar users, and the groups become the roles. Formally, it's the Role Mining Problem: decompose a binary user-by-privilege matrix into user-by-role and role-by-privilege matrices, minimizing the number of roles while every user keeps every privilege the evidence says they need. It's a Boolean matrix decomposition, equivalent to set cover, and NP-complete.

Ordinary clustering optimizes for similarity and has no concept of "must cover": a centroid will happily grant a privilege three people need to all ten in the cluster, or drop one that two people depend on. Naming the problem correctly steers you toward integer programming and set-cover heuristics rather than a k-means call that quietly breaks somebody's month end.

What we expect to go wrong

What we'd tell the next client

Standard leverResultWhat we found
Inactive users Failed Only 9 found, all held unlicensed admin or service roles.
Device over-licensing Failed No device users carrying needlessly expensive SKUs.
External / partner accounts Failed None of the usual over-provisioning patterns present.
Permission inconsistencies Marginal Update/create/delete granted without read; two mixed-SKU privileges.
Telemetry-driven access reduction Worked Five weeks of data exposed the entire $32K/month opportunity.
✓ Would this apply to your tenant?

This case is the exception: it only plays out this way if your estate is genuinely thin-client and integration-heavy, most users touch D365 indirectly, and your roles were built around integrations rather than people. Then telemetry, not configuration review, carries the engagement. Otherwise the standard role-split approach is usually right; see our companion case study for what that looks like.

Two more engagements in this series cover the other two situations: our case study on a fully automated D365 security migration moves an optimal design into production with no role built by hand, on unremarkable security, and our case study on a greenfield security design applies the same discipline a day before UAT instead of years into production.

The deepest question isn't technical: can administrators live with roles defined by what people do? The answer wasn't what our first attempt predicted: see our report on the mining rebuild's first, unshippable draft and what the client actually chose to pay for once they saw the real trade-off.