The Simplest Way to Make Azure Active Directory and JetBrains Space Work Like They Should
Teams link azure active directory and jetbrains space to control user logins and roles. This setup lets developers log in once to write code, run builds, and ship apps. When both tools share one user list, new hires get their accounts right away. Departing staff lose their accounts across all projects at the exact same moment. How azure active directory and jetbrains space share user data Azure Active Directory acts as the main source of truth for user identities. JetBrains Space reads those
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Teams link azure active directory and jetbrains space to control user logins and roles. This setup lets developers log in once to write code, run builds, and ship apps.
When both tools share one user list, new hires get their accounts right away. Departing staff lose their accounts across all projects at the exact same moment.
How azure active directory and jetbrains space share user data
Azure Active Directory acts as the main source of truth for user identities. JetBrains Space reads those identities to grant access to git repos, chats, and build jobs.
You link the two platforms using standard web login protocols like OIDC or SAML. When a developer opens Space, the app sends them to Microsoft to log in.
Microsoft checks the password and multi-factor prompt, then sends a signed token back. Space reads the user profile and group claims inside that signed token.
From there, Space maps those directory groups to project teams and repo permissions. You can also turn on automated user sync so profile edits flow over without manual work.
This link keeps your login rules in one central place. Security teams set password rules and device checks in Microsoft, and Space follows them.
Common login risks and how to scope roles
Many teams start by mapping one broad directory group to all Space projects. That shortcut gives every developer admin rights over build scripts, secrets, and package feeds.
Another common mistake is using shared service accounts for build agents and deploy scripts. When a shared token leaks, attackers can read source code and push bad builds.
Shared accounts also ruin your audit logs during a security review. You can see that a script ran, but you cannot see who started it.
Active Directory + Azure RBAC: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
To fix this, split your directory groups by real job needs before syncing. Create separate groups for readers, code writers, and project admins in your main directory.
Map each group to the smallest role needed inside each Space project. Keep production deploy keys and cloud roles out of general developer groups.
Next, lock down the network paths between your build runners and your live databases. Build jobs should only reach the exact servers they need for that single step.
Protecting databases and servers during Space builds
Linking user logins solves app access, but build jobs still touch live backend systems. Developers also need to check production databases and servers when a release fails.
Handing out static database passwords inside Space chat or build files creates huge risks. Those keys stay valid for months and sit in plain text logs.
Instead, tie every database query and server session back to the main directory identity. Require short lived permissions for both human engineers and automated Space jobs.
Log every command and query at the database level with the user email attached. Turn on data masking to rewrite emails, phone numbers, and card numbers in query results.
This way, developers can fix bugs fast while sensitive customer fields stay masked.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
How do we remove access when a developer leaves the company?
Disable or delete the user account inside Azure Active Directory first. Active directory sync will block their Space login and revoke their active sessions right away.
Can we map Azure groups to specific JetBrains Space project roles?
Yes, you can pass group claims during login or sync groups using directory protocols. You then link each synced group to a specific team role inside Space.
How should Space build jobs reach internal databases safely?
Avoid storing long lived database passwords inside project variables or repo files. Use short lived workload tokens and strict network rules that log every single query.
Related guides
In this post