Thirty roles held more than a thousand segregation-of-duties conflicts between them, on an implementation that hadn't gone live yet. We found them a day before user acceptance testing began. There's no dollar figure attached to this one. There's something more useful: a repeatable answer to where security design should begin.

ℹ If you read one line

A requirements spreadsheet full of just-in-case access is itself a risk, and running a segregation-of-duties analysis plus telemetry before go-live is the cheapest place to fix it.

A different kind of engagement

Unlike the rest of this series, there was no client engagement behind this case, only a request for mentoring. A functional D365 Finance & Supply Chain consultant with five years of experience asked for guidance on one of his implementations. The mechanics of configuring security, assigning roles, and tracking down missing permissions were never his problem. He wanted the knowledge that only years of analysis, optimization, and remediation build up. He would do all the work himself, with a mentor sanity-checking the small steps.

His opening question is one every security practitioner should answer at least once: starting completely from scratch, where do you begin? The business had written its requirements as a free-form, informal request: tasks they considered securable, in their own language, the roles they wanted, and a spreadsheet granting access to those tasks. No legacy roles, no inherited configuration, no years of drift.

First principle: don't build the everything-role

Years of security work produce habits that run on intuition, and a greenfield project is the rare chance to turn them back into explicit rules. The first surfaced immediately: do not put all permissions into one role.

Comparison of one giant everything-role holding every permission against four small task-shaped roles: AP invoicing, PO approval, inventory counts, and bank reconciliation. The everything-role turns every change into surgery on a monolith.
The monolith looks simpler on day one. It stops being simple the first time anyone changes jobs.

One user, one role looks easy to manage, but the simplicity collapses once the organization starts moving. People transfer between departments, delegate duties during a break, and pick up new responsibilities. Each event forces a change, and when roles are huge containers, every change becomes surgery on a monolith. What works instead is roles that stay close to actual business roles, with configuration organized around business tasks. Small enough to move, meaningful enough to reason about.

Who should be doing security, anyway

The consultant collected duties around the tasks the business had defined, occasionally pulling in his mentor to pin down what users actually wanted. Along the way he arrived independently at a long-held belief in this practice: security configuration requires knowing Finance & Supply Chain from the inside out, the business need, the functionality behind it, and the technical side that translates one into the other. At times he felt his own functional knowledge falling short, and said so.

A successful D365 implementation resting on four pillars: architecture, data migration, functional configuration, and security configuration, with security highlighted as the one routinely staffed as if it weren't as important as the others.
Four pillars, one roof. Security is the only one routinely handed to the most junior person available.

Security configuration is not a task for a junior developer. It's as important as data migration, functional configuration, and the system architecture. It takes someone who understands all of Finance & Supply Chain, the business, and what's at stake. It's routinely staffed as if none of that were true.

"Just in case": the requirements problem

One pattern in the client's requirements jumped out immediately and came up more than once during mentoring: the proposed roles were configured wide.

Outside a ten-person shop, no one takes care of everything. Segregation of duties exists whether anyone designs it or not; it emerges from how work divides, or it's enforced deliberately. The proposed roles ignored that. An accountant was granted treasury functionality, just in case. Everyone received full access to projects, project budgets, and project accounting, just in case.

An accountant role gaining treasury, project budgets, project accounting, and full projects access, each grant labeled just in case, adding up to an unknown risk.
Each grant was individually reasonable. The spreadsheet never asked what they added up to.

The spreadsheet was saturated with just-in-case access, and to an experienced eye the problem was unmissable. The recommendation: run a segregation-of-duties analysis before this design goes anywhere near production.

Thirty roles, one thousand conflicts

The environment had only about 30 roles. The segregation-of-duties analysis found over a thousand conflicts in them.

About 30 roles feeding into a segregation-of-duties analysis that produces more than 1,000 conflicts, an average of over thirty violations per role in a design that hadn't shipped yet.
The number that shocked the business. An average of more than thirty violations per role, in a design that hadn't shipped yet.

The point had been made repeatedly during mentoring: certain permissions should never coexist in a single role, never mind a single user. After enough repetition the consultant ran the analysis, and the numbers made the argument on their own.

When he brought the results to the business, with the standard reasoning behind segregation-of-duties violations, they were in shock. It had never occurred to them that a requirements spreadsheet could itself be a source of risk: a generator of user-related human error, and a standing invitation to potential fraud. They had written down access. They had not written down consequences.

The question: what do you do, one day before UAT?

This conversation happened essentially a day before user acceptance testing. A few months still remained before go-live, enough to redesign and retest, but far too late for a blank-page do-over.

Timeline from requirements spreadsheet, to roles configured, to a segregation-of-duties analysis finding 1,000+ conflicts one day before UAT begins, to a telemetry-driven rebuild and retest over the following months, ending at go-live.
The worst possible moment to be right: after the design is finished, before anyone has tested it.

The consultant asked his mentor directly: in his shoes, what would you do? The advice: turn telemetry on, let the users test everything, and bring the data back to the business as evidence that users almost certainly don't need as much access as the requirements granted.

Deliberately, the advice wasn't least possible access. Imposed a day before UAT on a business that has just discovered segregation of duties, that's a fight nobody wins. The proposal sat between the extremes: violations driven to the minimum the business can genuinely operate with, neither eliminated at any cost nor ignored, in roles built from what people do during testing, not from spreadsheet guesses.

A gradient between two extremes, just-in-case access with everything granted and over 1,000 conflicts on one end, and least possible access which is unworkable a day before UAT on the other, with minimum SoD violations, telemetry-shaped landing in between.
The silver bullet is not in the middle by accident. It's the only point both auditors and users can live with.

What happened next

Telemetry went on, and user activity during testing began shaping the roles, still fewer than thirty, so that users could carry out all of their real work without missing access and without the just-in-case sprawl.

Five-step loop: telemetry on during UAT, users test everything, evidence of real usage, roles rebuilt from behavior, business signs off on evidence.
The same telemetry loop used in remediation projects, moved to the only place it's cheap: before go-live.

When the proposals reached the business, they confirmed it: they had never considered that overly wide access could cause problems, and hadn't known what people would need. The just-in-case requirements weren't carelessness, simply the honest absence of information. Telemetry supplied the information.

Why this case matters

There's been no formal license analysis here, no savings figure, no before-and-after. The engagement was a proposal for doing it right the first time, which is what makes it worth writing up.

The four-case series arc: Case 1, broken security, clustering and role mining. Case 2, excellent security, classification and SoD. Case 3, remediation, automation in 90 minutes. Case 4, prevention, get it right the first time.
The series arc: diagnosis, diagnosis, cure, and finally, prevention.

Every other case in this series is archaeology: environments years into production, where just-in-case access has compounded into monthly invoices and hundred-role remediation projects. This one is the counterfactual. Turned on during configuration, telemetry shows what will actually be used and heads off the expensive configuration before it exists. And one honest segregation-of-duties conversation at the requirements stage, not the audit stage, prevents a great deal of post-go-live headache and saves real money.

PrincipleWhy
No everything-roles Small, task-shaped roles survive transfers, delegations, and reorganizations. Monoliths turn every personnel change into surgery.
Security is senior work It demands full functional knowledge of Finance & Supply Chain plus the technical depth to translate business needs, as critical as data migration or architecture.
Requirements are a risk surface "Just in case" grants written in a spreadsheet become human-error generators and fraud scenarios in production.
Run SoD before UAT, not after go-live Thirty roles hid a thousand conflicts. Finding them a day before UAT was late; finding them after go-live would have been expensive.
Telemetry works before go-live too Turned on during testing, it replaces guesswork with evidence while configuration is still cheap to change.
✓ Would this apply to your implementation?

This only works if you catch the requirements while they're still requirements: before UAT ideally, before go-live at the latest. A day before UAT was late enough to hurt and early enough to fix. After a year live, the everything-role has accumulated users, exceptions, and history, and you're into the remediation projects covered in the rest of this series. If you're still writing requirements, run the segregation-of-duties analysis now, before the business signs off on just-in-case grants.

The project is ongoing, and the mentoring continues. What's worth watching is whether doing it right the first time looks, in the numbers, the way it should.

This is the fourth in a series on D365 license optimization and security. The first covered an integration-heavy environment where the standard playbook failed. The second covered a client whose excellent security still left 38% of the license bill on the table. The third covered a fully automated remediation delivered in ninety minutes.