Entra Provisioning Service

Published
Length
3 min read

Luis Felipe Dias

All posts

You set up the entra provisioning service by linking your directory to target apps with SCIM. It then creates, updates, and removes user accounts based on your directory groups. Many teams use this tool to stop making manual accounts in every app. Still, teams often sync broad group roles that give users too much power. When an engineer gets a wide role, they can run risky commands on live data. How the entra provisioning service works The entra provisioning service runs on a set schedule to

User Provisioning (SCIM) + Microsoft Entra ID (Azure AD): the complete guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free white paper. No spam. Unsubscribe anytime.

You set up the entra provisioning service by linking your directory to target apps with SCIM. It then creates, updates, and removes user accounts based on your directory groups. Many teams use this tool to stop making manual accounts in every app. Still, teams often sync broad group roles that give users too much power. When an engineer gets a wide role, they can run risky commands on live data.

How the entra provisioning service works

The entra provisioning service runs on a set schedule to keep user lists in sync. It reads user profiles and group lists from your central directory. Then it compares those records against the accounts inside your connected apps. If a new person joins a group, the service sends a request to create their account. When someone leaves the team, the service disables or deletes their account in the target app. You can map directory fields like job titles or departments to specific app roles. This mapping ensures that users get their base roles as soon as they start work. It also keeps user details like email addresses and phone numbers updated across all tools.

Setting up attribute mappings and group rules

Good directory sync starts with clean group rules and narrow attribute mappings. Teams usually create security groups in the directory for each job function. You assign those groups to the target app so only selected people get accounts. Next, you match directory attributes to the fields that the target app expects. You should check that each group maps to the smallest role needed for daily work. Scoping rules help you filter out contractor accounts or test users before sync begins. Before turning on the sync loop, teams run a test pass with one user account. This test shows if the field rules work and prevents mistakes across the whole company.

What directory sync solves and what it misses

Automated account sync solves a huge problem for busy tech teams. You no longer have to make or delete accounts by hand when people change jobs. When someone leaves the company, one click in the directory shuts off their app accounts. This stops old accounts from sitting open for months after a person leaves. Yet directory sync only controls who has an account and what static role they hold. It cannot see or control what a user does after they log in to a database. A synced admin role lets an engineer run a bad delete query or read sensitive rows. The directory knows the user is in the right group, not what queries they run. It also cannot rewrite sensitive fields like card numbers or national IDs in query results. Standing group roles stay active all day, even when no one needs to fix a bug.

User Provisioning (SCIM) + Microsoft Entra ID (Azure AD): architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

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

What protocol does the entra provisioning service use to sync users?

It uses the SCIM standard to send user and group updates to modern cloud apps. This open standard lets the directory create, update, and disable accounts without custom scripts.

Does directory provisioning control what queries an engineer runs?

No, directory sync only creates the account and assigns a static role in the target system. It does not inspect, approve, or filter the commands a user runs during an active session.

What happens when you remove a user from a synced group?

During the next sync cycle, the service sends a signal to disable or delete that account. The user loses their assigned role in the target app once the sync pass finishes.

Save the open-source gateway.

hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.