New enquiriesSupport@cloudsta.co.uk07404 154587
PROTECTING YOUR DATA Book a consultation

Home / Insights

Identity

Governing non-human identities before AI agents outnumber your staff

Service principals, managed identities and AI agents now hold more access than most employees. A practical governance model for Entra ID.

By Raja Ahmed · 20 November 2026 · 5 min read

Every automation, integration and AI agent in your tenant signs in with an identity of its own. In most organisations these service principals, managed identities and app registrations already outnumber people, and they are reviewed far less often. They rarely use MFA, their credentials are often long-lived secrets, and nobody leaves the company when they should be switched off.

Start with an inventory and an owner

List every app registration, enterprise application and managed identity, and record who owns it and what it is for. An identity without an owner is the first candidate for removal. Tag AI agents separately so they can be reported on as their own population.

Remove secrets where you can

Prefer managed identities for workloads running in Azure and workload identity federation for pipelines and other clouds. Where a client secret or certificate must remain, set a short expiry and alert before it lapses, rather than issuing secrets that never expire.

Apply least privilege to application permissions

Broad Microsoft Graph application permissions such as reading every mailbox or every site are the non-human equivalent of global admin. Replace them with scoped alternatives where Microsoft offers them, such as resource-specific consent or site-scoped access, and review consent grants regularly.

Put policy around sign-in

Conditional Access for workload identities can block service principals signing in from unexpected locations or when risk is detected. It needs Workload Identities Premium licensing, so target it at the identities with the most access first.

Watch what they do

Send service principal sign-in logs and audit logs to Microsoft Sentinel and alert on new credentials, new permission grants and unusual sign-in patterns. Attackers who compromise an app credential gain persistent access that survives password resets.

Review on a schedule

Run access reviews for privileged applications just as you do for privileged people. As AI agents multiply, the organisations that already govern non-human identities will be the ones able to adopt them safely.

Want this applied to your environment?

Book a 30-minute call and we will walk through where your organisation stands.

Book a Discovery ConsultationDiscuss Your ProjectRequest a Consultancy Proposal

Confidential discussions · Tailored solutions · Enterprise expertise