Join our Newsletter — 33% off our NHI Course
Home› Guides› Entra App Registrations and Service Principals for Beginners:…
Guide Non-Human Identity (NHI)

Entra App Registrations and Service Principals for Beginners: How Apps Get Their Own Identity

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 13 min read
On this page

An app registration tells Microsoft Entra ID about an app; a service principal is that app's identity inside your organisation.

This guide is for new IT staff and people who look after Microsoft 365 at a small firm. You do not need to write code to be affected: every app connected to your Microsoft 365 has one of these identities, and some can read company email or files.

This is an independent guide from NHI Mgmt Group, based on Microsoft's public documentation as of November 2026. It is not sponsored or reviewed by Microsoft. Product features change, so confirm settings against Microsoft's current documentation.

In short

  • An app registration is the master record of an app. A service principal is the app's own account in one organisation.
  • Service principals are non-human identities (NHIs): they sign in and use data without a person.
  • Some apps can act with no user signed in. Only an admin should approve that kind of access.
  • Give every app at least two owners, prefer secret-free sign-in, and remove apps nobody uses.

What you will learn

  • Explain the difference between an app registration and a service principal.
  • Spot where each one shows up in the Entra admin center.
  • Check who owns an app and what it is allowed to do.
  • Ask the right questions before approving a new app.
App's master record (app registration)
the entry that describes an app to Entra ID: its name, how it signs in and what it may ask for.
App's local identity (service principal)
the account an app uses inside one organisation, with that organisation's permissions.
Approval (consent)
the moment a user or an admin agrees to let an app use certain data.

What are app registrations and service principals?

Think of a coffee chain. Head office writes one rulebook for the brand. Each town that opens a branch gets its own shop, its own keys and its own local manager.

Entra ID works the same way. Entra ID is Microsoft's sign-in service for work accounts. Each organisation has its own private space in it, called a tenant.

When someone adds an app, Entra ID creates an app registration. Microsoft calls the record behind it the application object. It is the rulebook: how the app signs in and what it might need.[1]

Each tenant that uses the app gets a service principal. That is the local branch. Microsoft says it sets what the app can do in that tenant and what it can reach.[1] An app built by another company, such as a booking tool, has its rulebook in that company's tenant. Your tenant only holds the local branch.

A service principal is a non-human identity. A non-human identity (NHI) is a digital identity, or the credential behind it, that represents a machine, application, automated process, service or AI agent. It lets that thing authenticate, carry out tasks and connect to other systems without a person.[6]

Where the comparison stops working: a coffee branch has a front door you can walk past. A service principal has no shopfront. It can keep working quietly long after everyone has forgotten it exists.

Why does it matter?

An app's identity can hold a lot of power. Microsoft notes that an app owner may reach more through the app than through their own account.[4] If someone steals the app's password, they can use the app's access, and it can look like normal app activity.[5]

If you look after Microsoft 365 at a small firm

What could happen: an old app still has permission to read every mailbox, and nobody remembers why.

Check this: open Enterprise applications and list apps with no named owner.

Next: Orphaned and Dormant Accounts for Beginners

If you are new to IT work

What could happen: you approve an app's request without reading which data it wants.

Check this: read the permission list, and ask a senior colleague about anything ending in ".All".

Next: OAuth Apps and Integrations for Beginners

If you manage a team that builds apps

What could happen: a developer leaves, and the app's password sits in a script with no one to change it.

Check this: make sure each app has two owners and a team contact.

Next: NHI Ownership for Beginners

What does it look like?

Here is a made-up summary of one app, the kind of details an admin sees across the App registrations and Enterprise applications pages.

Example only. All values are made up.

App name:        Stock Sync EXAMPLE
App (client) ID: 00000000-0000-0000-0000-000000000000
Owners:          (none)                         (1)
Sign-in method:  Client secret, expires 0000-00-00   (2)
Permissions:     Mail.Read.All (application)    (3)
Admin consent:   Granted
Last sign-in:    14 months ago                  (4)
  1. No owner. In a real screen, this line would show who looks after the app.
  2. A client secret is a password for the app. Microsoft recommends safer options for live use.[2]
  3. An application permission. The app can read every mailbox with no user signed in.
  4. Not used for over a year, yet it still holds that access.

Why this is risky: this app is powerful, has no owner and has not been used for a long time. It is easy to forget and hard to explain.

The safer way: confirm the app is still needed. If it is, give it two owners, cut its permissions to what it uses and move it off the password. If it is not, switch it off, then remove it.

How does it work?

Here is the usual life of an app's identity.

  1. Register. Someone adds the app in Entra ID. This creates the app registration, and Microsoft says that person becomes an owner automatically.[4]
  2. Create the local identity. A service principal appears in each tenant that uses the app. Your own apps get one in your tenant. Other companies' apps get one when someone in your tenant approves them.[1]
  3. Ask for access. The app asks for permissions. Delegated permissions let it act for a signed-in person, and it cannot reach more than that person can. Application permissions let it act on its own, with no one signed in.[3]
  4. Approve. A user may approve some low-risk requests for their own data. Microsoft says application permissions usually need an admin to approve them.[3]
  5. Prove who it is. Each time the app signs in, it proves it is that app. It might use a client secret (a password for the app), a certificate (a digital ID card) or a secret-free method.[2]
  6. Retire. When the app is no longer needed, you can deactivate it, which stops it getting new sign-in passes but keeps its records. Then you delete it.[1]
Diagram titled One app, many local identities. On the left, a box labelled Home organisation holds the app registration, the master record: name, sign-in settings, permissions it may ask for. Arrows run to three boxes on the right labelled Your organisation, Customer A and Customer B. Each holds a service principal, the app's local identity, with a note: this organisation's approvals and access. A green bar underneath says each organisation decides what the app may do in its own space.
Figure 1. One master record, and a separate local identity in each organisation that uses the app.
Diagram titled Acting for a person or acting alone. Left panel, labelled Delegated: a person signs in, the app acts for them and can reach only what that person can reach. A user may approve some low-risk requests. Right panel, labelled Application: no one is signed in, the app acts on its own and can reach whatever the permission covers, for example every mailbox. Only an admin should approve. A green bar says check which kind an app is asking for before you approve.
Figure 2. Two kinds of permission. Application permissions need extra care because no person is in the loop.

In the Entra admin center, the App registrations page lists the master records your tenant owns. The Enterprise applications page lists service principals, with their permissions, approvals and sign-in details.[1]

Some service principals belong to a managed identity. This is an identity Azure creates for its own resources, such as a virtual machine. Microsoft says the app then needs no stored password at all, and the credentials are not even visible to you.[7] Where an app runs outside Azure, a federated credential can do a similar job by trusting another sign-in service instead of a stored secret.[5]

A worked example

Kaia Kowal looks after IT at Juniper Brewery, a fictional brewery with forty staff. A new manager asks her to tidy up Microsoft 365 before an audit.

Kaia opens Enterprise applications. She finds an app called "Stock Sync" that can read every mailbox. It has no owner, and its last sign-in was over a year ago.

She remembers the coffee chain. A branch with no manager, still holding keys to every office, is not something to leave open.

The audit logs show that Fen Yilmaz, a former developer, created the app three years ago. Fen left last spring. Kaia messages the finance team. They confirm the stock system moved to a new supplier, and nobody uses Stock Sync now.

Kaia does not delete it straight away. First she deactivates the app, so it cannot get new sign-in passes, and waits two weeks in case anything breaks. Nothing does, so she deletes it.

She also finds a newer app that the brewery still uses. It has one owner and a client secret stored in a script. Kaia adds a second owner and a team contact. She asks the supplier to move it to a certificate, as Microsoft recommends for live apps.[2]

Last, Kaia changes the user consent setting. Staff can now approve only low-risk requests from verified publishers, and anything bigger goes to an admin.[8] She writes a one-page list of every app, its owner and what it can reach.

Myths and mistakes

What people thinkWhat is true
App registrations and enterprise apps are two names for the same thing.They are linked but separate. One is the master record; the other is the local identity in your tenant.
If I did not build it, it is not in my tenant.Every outside app someone approved has a service principal in your tenant.
An app can only see what the person using it can see.That is true for delegated permissions. Application permissions can reach far more, with no one signed in.
Deleting a person's account removes the apps they made.Apps stay when their owner leaves. Check owners as part of every leaver process.
A client secret is fine for a live app.Microsoft recommends certificates over secrets, and secret-free options where they fit.[2]

What can I do this week?

  • List the apps in Enterprise applications and note any with no owner.
  • Find apps that hold application permissions, and ask what each one is for.
  • Check the user consent setting, and limit it to low-risk requests from verified publishers.
  • Add a second owner to every app your team relies on.
  • Add "check app ownership" to your leaver checklist.

Checklist

  • Every app has at least two owners and a team contact.
  • Each app's permissions match what it really uses.
  • Application permissions are approved only by an admin, with a recorded reason.
  • Users can approve only low-risk requests, or none at all.
  • Live apps sign in with certificates, managed identities or federated credentials, not client secrets, where they can.
  • Any remaining secrets are stored in a vault and changed before they expire.
  • Unused apps are deactivated, then deleted.
  • App ownership is checked whenever someone leaves.

Common questions

What is the difference between an app registration and a service principal?

One is the master record and the other is a local identity. The app registration is kept where the app was made. The service principal is the app's identity in each tenant that uses it. One app can have many service principals, one for each organisation.

Why are some apps listed in Enterprise applications but not in App registrations?

Because they were built somewhere else. App registrations shows only the master records your tenant owns. Apps made by other firms keep their master record in their own tenant. So you see only their local identity, under Enterprise applications. Managed identities show up there too.

Who should be allowed to approve apps?

Admins should approve anything powerful. Microsoft suggests users approve only apps from checked publishers. You can also turn on an admin request form. Staff ask for an app, and an admin checks it before it gets any access.[8]

Is a service principal the same as a service account?

They do a similar job. Both are identities used by software, not people. A service account is a general idea found in many systems. A service principal is the name Entra ID uses for an app's identity. See Service Accounts for Beginners.

What happens if I delete an app registration?

Its local identity in your own tenant goes too. Microsoft says that if you restore the app, that identity does not come back. Switching the app off first is gentler. It stops new sign-ins but keeps the records.[1]

Where next?

Ready for the detail? Read the practitioner guide: How to find Entra apps and service principals with no owner. It goes further into finding ownerless apps with queries, ranking them by risk and assigning the right owners.

Also useful:

Related NHI Mgmt Group resources: Azure RBAC and Service Principals Guide · Azure Managed Identities Security Guide · Entra ID Security Guide

Key terms

App registration
The record Entra ID uses to describe an app, how it signs in and what it may ask for.
Service principal
An app's own identity inside one tenant, holding what it is allowed to do there.
Tenant
An organisation's own private space in Entra ID, holding its people, apps and settings.
Application permission
Access that lets an app act on its own, with no user signed in.
An admin's approval for an app to use data across the organisation.
Client secret
A password an app uses to prove who it is when it signs in.
Managed identity
An identity the cloud provider creates and looks after for a resource, so no password is stored.
Orphaned account
An identity that is still active but has no clear owner or purpose.

Sources and further reading

  1. Application and service principal objects in Microsoft Entra ID. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/entra/identity-platform/app-objects-and-service-principals, accessed 28 Nov 2026.
  2. Add and manage application credentials in Microsoft Entra ID. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/entra/identity-platform/how-to-add-credentials, accessed 28 Nov 2026.
  3. Overview of permissions and consent in the Microsoft identity platform. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/entra/identity-platform/permissions-consent-overview, accessed 28 Nov 2026.
  4. Overview of enterprise application ownership in Microsoft Entra ID. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/overview-assign-app-owners, accessed 28 Nov 2026.
  5. Migrate applications away from secret-based authentication. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/migrate-applications-from-secrets, accessed 28 Nov 2026.
  6. Non-Human Identities for Beginners. NHI Mgmt Group. https://nhimg.org/what-are-non-human-identities-beginners-guide, accessed 28 Nov 2026.
  7. What are managed identities for Azure resources? Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/overview, accessed 28 Nov 2026.
  8. Configure how users consent to applications. Microsoft Learn, Microsoft. https://learn.microsoft.com/en-us/entra/identity/enterprise-apps/configure-user-consent, accessed 28 Nov 2026.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.