Just Enough Administration
Cheat sheet · https://pcornel.dk/topic.php?topic=4472
Answer
JEA maps connecting users or groups to role capabilities through a session configuration, constrains the PowerShell language and visible commands, optionally uses temporary privileged run-as identities and relies on transcripts and logs for accountability.
Remember
- JEA endpoint access ≠ unrestricted PowerShell administration.
- Allowed cmdlet ≠ safe when parameters, arguments or invoked code enable escape.
- Virtual account ≠ caller identity at the target action boundary.
- Transcript present ≠ complete evidence outside the constrained session.
First checks
Get-PSSessionConfiguration— JEA endpointsEnter-PSSession -ComputerName <h> -ConfigurationName <jea>— use JEAGet-PSSessionCapability -ConfigurationName <jea> -Username <u>— allowed commands
Verify in this order
user → JEA endpoint → allowed cmdlets only
Where it usually breaks
First mismatch in identity lifecycle → authenticator/credential → IdP/federation/session → authorization policy → target resource → audit trail; preserve identity/policy/pre-state before mutation.
Identity & Access Management → Just Enough Administration proof map
| Boundary | Establish | Does not establish |
|---|---|---|
| Identity and scope | Stable subject/account/resource mapping, owner, lifecycle state and expected action | Does not prove credential control or effective access |
| Policy and ceremony | Effective entitlement or authenticator/verifier policy plus all fallback paths | Configuration presence does not prove enforcement or assurance |
| Outcome | Allowed, denied, failure, expiry/revoke and target read-back tests correlated with telemetry | One success does not prove every interface, session or downstream target |
| Closure | Original end-to-end action retested; residual access/risk, owner and review trigger recorded | Administrative workflow completion alone is not closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4472