Intranet Integration with Entra Id
You set up intranet integration with entra id by linking your internal web apps to your central directory. Your team then logs in with one work account instead of separate passwords. Most teams map group roles in the directory to app permissions across the private network. If those group roles are too broad, users gain wide rights across sensitive databases and tools. How intranet integration with entra id works in practice First, an admin registers the internal app inside the central directo
Microsoft Entra ID (Azure AD): the complete guide
Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.
You set up intranet integration with entra id by linking your internal web apps to your central directory. Your team then logs in with one work account instead of separate passwords. Most teams map group roles in the directory to app permissions across the private network. If those group roles are too broad, users gain wide rights across sensitive databases and tools.
How intranet integration with entra id works in practice
First, an admin registers the internal app inside the central directory tenant. The directory gives the app a unique ID and a trust key. Next, the admin sets up a standard sign-in protocol like SAML or OIDC. When a worker opens the intranet portal, the app sends them to the directory login page.
The directory checks the worker's password and prompts for a second factor on their phone. It also checks device health rules and network location rules before approving the login. Once approved, the directory sends a signed token back to the intranet app. That token lists the worker's user ID, email, and assigned security groups.
For legacy internal web apps that cannot read modern tokens, teams deploy a local connector on the private network. That connector listens for outbound requests from the directory service. It translates modern cloud tokens into local network sessions or standard web headers. This setup lets workers reach internal sites without opening inbound firewall ports.
What directory sign-in solves and what it misses
Central sign-in stops password reuse and makes offboarding fast when someone leaves the team. Admins can block one account in the directory to cut off all intranet portals at once. Group rules also make it easy to grant base roles to new hires on day one. Sign-in logs show which user entered an internal app and when they logged in.
Still, directory login only checks who a user is at the front door. Once the session starts, the directory cannot see what the user runs inside the tool. A developer logged into an internal admin portal or database client holds full role rights for hours. The directory does not check individual SQL queries, shell commands, or API calls in flight.
Microsoft Entra ID (Azure AD): architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
This gap matters when internal tools read or write sensitive customer records. A valid login token cannot stop a broad query from pulling thousands of emails or card numbers. It also cannot require a peer review before a risky delete command runs in production. Teams need controls that inspect live actions after the initial directory check finishes.
Scoping roles and network paths for internal tools
Start by breaking big department groups into smaller task roles in your directory. Do not give every engineer the same admin group for all intranet tools. Create separate groups for read tasks and write tasks across your internal systems. Review group memberships every month so temporary project rights do not stay active forever.
Next, pair your directory checks with runtime controls on the backend systems themselves. When an intranet app or engineer queries a database, mask fields like phone numbers and national IDs in results. Log every command and query along with the user identity from the directory. This pairs clean login controls with clear visibility over every action on your network.
Add runtime guardrails and masking beside your databases and APIs
Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.
Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.
Frequently asked questions
How do legacy intranet apps use Entra ID without code changes?
Teams install a lightweight connector agent inside the private network near the legacy web server. The agent handles modern directory sign-in and passes standard session headers to the old app.
Does Entra ID control what queries run inside internal database tools?
No, the directory only verifies the user and passes group claims during sign-in. It does not inspect, block, or mask individual SQL statements or commands during the session.
What happens to active intranet sessions when we disable a user account?
The directory blocks new sign-ins right away, but active app tokens may last until they expire. Teams should set short token lifetimes for sensitive internal tools to close this window.
Related guides
In this post