By NHI Mgmt Group Editorial TeamPublished 2025-08-05Domain: Workload IdentitySource: Semperis

TL;DR: A compromised low-privilege user can pivot through owned service principal access, add a client secret, and use app-only authentication to reset a Global Administrator account, bypassing user-centric controls like MFA and Conditional Access, according to Semperis. The lesson is that application ownership is itself a privileged control surface, and unmanaged service principals can collapse the boundary between delegated and app-only access.


At a glance

What this is: This scenario shows how ownership of a privileged service principal can be abused to escalate from a low-privileged user to Global Administrator in Microsoft Entra ID.

Why it matters: It matters because IAM teams must govern application ownership, service principal roles, and credential management with the same rigor they apply to human privilege paths.

By the numbers:

👉 Read Semperis's analysis of service principal ownership misuse in Entra ID


Context

Service principal ownership is an access control problem, not just an application administration detail. In Entra ID, the owner of an enterprise application can manage credentials and influence how that identity is used, which makes ownership a security boundary when the application has elevated roles.

This scenario shows why identity governance must cover non-human identities as well as users. When a regular account can own a privileged service principal, the tenant inherits an escalation path that bypasses the controls most teams rely on for human sign-in risk.

The pattern is especially relevant in cloud environments where delegated and app-only authentication look similar operationally but behave very differently at the control layer. That difference is where misowned applications become a privilege-escalation problem.


Key questions

Q: What breaks when a user can own a privileged service principal?

A: A user who owns a privileged service principal can often change credentials, pivot into app-only authentication, and exercise the application’s assigned role without using the user account directly. That turns ownership into an indirect privilege-escalation path. The control failure is not just excess permission, but lack of governance over who may influence the application identity.

Q: Why do service principals complicate IAM governance in cloud tenants?

A: Service principals complicate IAM because they are active identities, not passive configuration objects. They can carry roles, credentials, and policy scope, and they may not be constrained by the same controls that protect human sign-ins. Teams need separate lifecycle, ownership, and role reviews for application identities, especially where privilege is involved.

Q: How do security teams know if app-only access is becoming risky?

A: Risk rises when service principals have elevated roles, credential changes are common, ownership is unclear, or app-only sessions are not monitored separately from user activity. A healthy programme can answer who owns each app, what it can do, and whether its credentials still match a current business need. If those answers are missing, the app is already a governance problem.

Q: Who is accountable when a misowned application leads to tenant takeover?

A: Accountability usually sits with the team that owns application governance, not only with the user who happened to hold ownership. Frameworks such as NIST Cybersecurity Framework and identity lifecycle controls expect clear responsibility for access, review, and offboarding. If ownership can create admin reach, then ownership review must be treated as a formal control.


Technical breakdown

How service principal ownership becomes an escalation path

An application registration defines the app, but the service principal is the local security identity in the tenant. Ownership of that service principal can allow credential changes, permission management, and administrative influence over the app’s runtime identity. If the service principal also carries a directory role, ownership stops being a convenience function and becomes an attack path. The critical distinction is that the owner does not need to be a privileged administrator to alter the app’s credentials if governance is weak. In practice, that means a low-privilege user can convert administrative ownership into identity control.

Practical implication: review who can own enterprise apps and treat ownership of privileged service principals as a governed entitlement, not a default convenience.

Delegated access versus app-only access in Entra ID

Delegated access represents a user acting through an application, so the token inherits user context, policy, MFA, and role constraints. App-only access uses the application’s own credentials, such as a client secret or certificate, and operates outside human sign-in controls. That difference matters because app-only tokens can persist and operate even when the human account behind the workflow is not actively present. For defenders, the security question is not just who signed in, but which identity context the workload is actually using at runtime.

Practical implication: separate monitoring and policy enforcement for delegated and app-only sessions so that workload credentials are not assumed to behave like user logins.

Why privileged authentication roles amplify app ownership risk

A service principal with a role such as Privileged Authentication Administrator can change authentication methods, reset passwords, and issue temporary access passes. If a non-admin user owns that service principal, the owner can add a secret, authenticate as the app, and exercise those privileges through the application context. This is a classic example of role exposure combined with weak ownership governance. The danger is not the role alone but the combination of role assignment, credential control, and inadequate review of who can influence the app identity.

Practical implication: tie role assignment reviews to service principal ownership reviews so that privileged app identities cannot be controlled by unprivileged users.


Threat narrative

Attacker objective: The attacker’s objective is full tenant compromise through takeover of the Global Administrator identity.

  1. Entry begins with a compromised low-privileged user account obtained through phishing or stolen credentials, giving the attacker a legitimate foothold in the tenant.
  2. Escalation occurs when the attacker discovers ownership of a privileged service principal and adds a client secret, converting that ownership into app-only authentication.
  3. Impact follows when the attacker uses the app’s privileged role to reset the Global Administrator password or issue a Temporary Access Pass, then signs in interactively and takes over the tenant.

Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Application ownership without lifecycle governance is a privilege boundary, not an admin convenience. This scenario shows that ownership of a service principal can be just as sensitive as the privileges assigned to it, because owners can alter credentials and activate the application identity. When ownership sits with an unprivileged user, the tenant inherits a hidden escalation channel. Practitioners should treat application ownership as a governed entitlement tied to role exposure.

Delegated and app-only access are different security models, and controls built for one do not reliably protect the other. User-centric controls such as MFA and Conditional Access do not constrain app-only authentication in the same way they constrain human sign-in. That means an application secret can become a parallel trust path even when the user account itself is tightly managed. IAM programmes need separate visibility for workload identity behavior, not just user session telemetry.

Misowned privileged service principals create an identity blast radius that is larger than most teams model. Once an application carries a sensitive directory role, ownership becomes an indirect route to reset credentials, issue passes, and control account recovery. The named concept here is ownership-to-admin escalation: legitimate administrative ownership becomes a path to tenant takeover when privilege and credential control are combined. Security teams should map this as a distinct attack surface in Entra ID.

Cloud identity governance fails when service principals are reviewed like static configuration objects instead of active identities. The scenario demonstrates that the security effect of an enterprise application depends on both its role assignment and who can mutate its credentials. That makes periodic review of app ownership, role assignment, and unused applications a core identity control, not a housekeeping task. Practitioners should fold service principals into the same governance discipline used for high-risk human accounts.

Application mismanagement turns identity sprawl into an access problem that auditors can miss. Because app ownership is decentralized by design, many tenants accumulate privileged service principals with unclear ownership and no clear offboarding path. That creates a governance gap where the question is not whether the application exists, but whether anyone can still control it legitimately. Teams should treat dormant or orphaned application ownership as a direct escalation risk.

From our research:

What this signals

Ownership-to-admin escalation should now be treated as a standard cloud identity threat pattern, not a niche lab exercise. In tenants where application ownership is loosely assigned, the governance gap is often invisible until a privileged role is attached to the wrong service principal. Security teams should map which workloads still rely on ownership trust rather than explicit control.

The practical signal is that workload identity review needs to move closer to privilege review. If your programme cannot tell who owns a service principal, whether it has a secret, and whether it can still affect recovery or MFA controls, the tenant has an escalation path that is easy to miss and hard to explain after the fact.

Application governance now sits alongside lifecycle governance. The organisations that will stay ahead are the ones that fold service principals into access reviews, offboarding, and role certification instead of leaving them inside application management silos.


For practitioners

  • Inventory privileged service principals and their owners Build a complete list of enterprise applications, the users or groups that own them, and any directory roles assigned to each service principal. Flag every case where an unprivileged user can influence an application with elevated access.
  • Separate workload credential administration from general user ownership Require stronger governance for who can add secrets or certificates to applications that hold privileged roles. If ownership cannot be restricted, introduce compensating approval and review steps before new credentials are accepted.
  • Review app-only paths as distinct from delegated user paths Monitor app-only sign-ins, credential changes, and role usage separately from user logons so that workload behavior is not hidden inside normal user telemetry. Treat these as different control planes with different failure modes.
  • Decommission orphaned or unused applications quickly Identify applications that are no longer in use, owners who have left, and credentials that outlive the business need. Remove or rotate those identities before they become dormant escalation assets.

Key takeaways

  • Misowned service principals can convert ordinary application ownership into a direct path to Global Administrator takeover.
  • The scale of the problem is structural, with compromised NHIs already appearing in most identity breach patterns and excessive privilege remaining common.
  • Teams should review ownership, role assignment, and app-only authentication together, because that combination determines whether a workload identity can be abused.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST Zero Trust (SP 800-207) and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-01Covers exposed or misgoverned non-human identities that can be abused through ownership.
NIST Zero Trust (SP 800-207)AC-2Zero Trust access decisions depend on strong identity governance for app-only paths.
NIST CSF 2.0PR.AC-4Least-privilege and access management align with reviewing who can control privileged apps.

Treat app-only identities as separately governed subjects and verify their access continuously.


Key terms

  • Service Principal: A service principal is the tenant-local security identity for an application. It is the object that receives roles, policies, and credentials in Entra ID, so ownership of it can have direct security consequences beyond basic app administration.
  • Delegated Authentication: Delegated authentication is a sign-in model where an application acts on behalf of a user. The token reflects the user’s identity and is constrained by the user’s permissions, MFA, and policy context, which makes it different from workload-only access.
  • App-only Authentication: App-only authentication is access performed by the application’s own identity rather than a human user. It typically uses secrets or certificates, and it can operate outside the user controls that normally shape interactive sessions, which makes governance and monitoring essential.
  • Application Ownership: Application ownership is the administrative right to manage an application object or service principal. In mature governance, it is not merely a convenience attribute because owners can change credentials and sometimes influence privileged access paths, so it must be reviewed as an access control.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.

This post draws on content published by Semperis: Misowned and dangerous: An Owner’s Manual to Global Admin. Read the original.

NHIMG Editorial Note
Published by the NHIMG editorial team on 2025-08-05.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org